Open mpilgrem opened 5 years ago
@derrickturk has identified (https://github.com/derrickturk/hdbc-odbc/commit/99cbefb16defc9ce6de77c1434207a78b5c3c365) that, in the case of the MS Access ODBC driver, the BufferLength argument of ODBC API function SQLGetInfo cannot be ignored (that is, set to 0), despite what is implied by the Microsoft API documentation (https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlgetinfo-function?view=sql-server-2017).
BufferLength
SQLGetInfo
InfoType SQL_TXN_CAPABLE returns a SQLUSMALLINT value and the BufferLength must be set accordingly.
InfoType
SQL_TXN_CAPABLE
SQLUSMALLINT
@derrickturk has identified (https://github.com/derrickturk/hdbc-odbc/commit/99cbefb16defc9ce6de77c1434207a78b5c3c365) that, in the case of the MS Access ODBC driver, the
BufferLength
argument of ODBC API functionSQLGetInfo
cannot be ignored (that is, set to 0), despite what is implied by the Microsoft API documentation (https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlgetinfo-function?view=sql-server-2017).InfoType
SQL_TXN_CAPABLE
returns aSQLUSMALLINT
value and theBufferLength
must be set accordingly.