Search found 3 matches
- 27.11.2006, 19:03
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ERangeError in Delphi 2006
- Replies: 2
- Views: 709
further DEBUG: in the first FOR loop the ZPlainMySql5.PMYSQL_FIELD(Field)^.flags is a 7, in the second loop it is 3120579657; PMYSQL_FIELD.flags is cardinal type, look below; but the GetfieldFlags function returns an Integer - there is the ERangeError...? This is from ZPlainMySql5.pas: PMYSQL_FIELD ...
- 27.11.2006, 18:40
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ERangeError in Delphi 2006
- Replies: 2
- Views: 709
more debug info: when opening the query, there is called a method named 'TZMySQLResultSet.Open' (in ZDbcMySqlResultSet.pas). It's not too long so i can copy it here: procedure TZMySQLResultSet.Open; var I: Integer; ColumnInfo: TZColumnInfo; FieldHandle: PZMySQLField; FieldFlags: Integer; begin if Re...
- 27.11.2006, 17:58
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ERangeError in Delphi 2006
- Replies: 2
- Views: 709
ERangeError in Delphi 2006
Hello. I always et an ERangeError when opening a simple Query: (Delphi 2006 -> MySQL 5.0.22) Connection.connected:=true; Query.SQL.Text:='SELECT * FROM foo;'; Query.Open; //<-------------ERangeError Debugging the code: The Exception is in ZPlainMySQLDriver.pas, Line 3405: function TZMySQL5PlainDrive...