Search found 3 matches

by ga_301
03.01.2013, 12:30
Forum: ZeosLib 7.0 Beta Forum
Topic: ERangeError in GetMySQLColumnInfoFromFieldHandle
Replies: 3
Views: 1856

Michael, thanks for your response. I am using Delphi XE2, 32-bit with rangechecking turned on. The method GetMySQLColumnInfoFromFieldHandle uses a local variable "fieldlength" which is declared as integer. My issue is not with the Ulong type, but with the type of that variable in this func...
by ga_301
30.12.2012, 13:57
Forum: ZeosLib 7.0 Beta Forum
Topic: ERangeError in GetMySQLColumnInfoFromFieldHandle
Replies: 3
Views: 1856

ERangeError in GetMySQLColumnInfoFromFieldHandle

The type integer of the Fieldlength variable in ZdbcMySQLUtils.pas, function GetMySQLColumnInfoFromFieldHandle does not match the return type ULong of IZMySQLPlainDriver.GetFieldLength.

I get a range check error when executing my code.
Please check.

Kind regards
Gunnar Adams
by ga_301
13.09.2012, 15:04
Forum: Feature Requests
Topic: SQL Exception handling
Replies: 0
Views: 1936

SQL Exception handling

I am evaluating zeoslib for my project. Is there a way to identify standard SQL errors (like for instance a Unique Key violation) by any other means than doing a string comparison with a implementation-dependent error string? How can I retrieve either the native error code (from looking at the DBC c...