Several bugs in Zeos source code (r7115-trunk)

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
Kirill
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 17.08.2020, 14:37

Several bugs in Zeos source code (r7115-trunk)

Post by Kirill »

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.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: Several bugs in Zeos source code (r7115-trunk)

Post by EgonHugeist »

Krill,
Both wrong defines fixed. See: https://sourceforge.net/p/zeoslib/code-0/7116/
According the Assert(s):
in most cases it's exacly what i want: Do not compile the Asserts in release mode. But some of them need to be revisited, propably! -> happen on Developement.. I'll check then Assert() lines again.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Kirill
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 17.08.2020, 14:37

Re: Several bugs in Zeos source code (r7115-trunk)

Post by Kirill »

Hi, Michael! Thanks for fixing wrong defines. Revisiting asserts would also be great.
Post Reply