firebird
firebird copied to clipboard
Wrong error code output in EDS
If the status vector contains isc_arg_sql_state, EDS code writes SQLSTATE's string address to error message instead of following GDS status like this:
Statement failed, SQLSTATE = 42000
Execute statement error at attach :
335544421 : connection rejected by remote interface
140707296949552 : [unixODBC][SQLite]connect failed
Here actual error code is isc_random
(335544382), not 140707296949552.