#80 Queries raises string overflow exception

open
nobody
5
2012-08-31
2012-08-31
Jacek Kałucki
No

Environment:
- system: Windows 7 64
- FirebirdSQL 2.5.1.26351_1_x64 SuperServer
- Python 2.7.3 from python.org
- kinterbasdb 3.3.0 final binary.

Issuing query with character type parameter which length exceeds declared field size raises "-802L-String overflow" exception, e.g.
if I have field "foo" declared as char(3), the "SELECT * FROM table WHERE foo LIKE 'ABCDE%'" query raises mentioned exception.
The ODBC driver works correctly and returns no results as response.

Discussion