From: Alexander P. <ale...@gm...> - 2013-10-08 07:20:30
|
Hi Dimitry, SQLColumns() gets data from system tables and it starts transaction of course and therefore If auto-commit mode off, driver considers that this transaction remains active. On 08.10.2013 1:04, Dimitry Sibiryakov wrote: > Should call of SQLColumns() start transaction? > > I wonder because now with auto-commit mode off, this call_does_ start transaction and > following call of SQLDisconnect() without SQLEndTran() return 25000 error code. > It is not clear for me from ODBC docs whether SQLColumns() is "an SQL statement that > can be contained within a transaction" or not. |