Several bugs in Zeos source code (r7115-trunk)
Posted: 25.11.2020, 10:58
Hi.
There are several misprints in ZAbstractRODataset module: WIT_ASLARGEINT instead of WITH_ASLARGEINT, WIT_WIDEMEMO instead of WITH_WIDEMEMO.
In Zeos {$C-} is used for the release method. Assert procedures are ignored for this option. For example, in ZDbcODBCUtils module this line will be ignored: "Assert(ODBC3BaseDriver.SQLAllocHandle(SQL_HANDLE_ENV, Pointer(SQL_NULL_HANDLE), HENV) = SQL_SUCCESS, 'Couldn''t allocate an Environment handle');". A similar problem exists in many modules.
There are several misprints in ZAbstractRODataset module: WIT_ASLARGEINT instead of WITH_ASLARGEINT, WIT_WIDEMEMO instead of WITH_WIDEMEMO.
In Zeos {$C-} is used for the release method. Assert procedures are ignored for this option. For example, in ZDbcODBCUtils module this line will be ignored: "Assert(ODBC3BaseDriver.SQLAllocHandle(SQL_HANDLE_ENV, Pointer(SQL_NULL_HANDLE), HENV) = SQL_SUCCESS, 'Couldn''t allocate an Environment handle');". A similar problem exists in many modules.