firebird-odbc-driver icon indicating copy to clipboard operation
firebird-odbc-driver copied to clipboard

SQLRowCount returns SQL_ERROR but no error text after "ROLLBACK TO SAVEPOINT savepoint_0" [ODBC113]

Open firebird-automations opened this issue 14 years ago • 0 comments

Submitted by: Martin J. Evans (bohica)

When I run the DBIx::Class test 750firebird.t it appears after a

SQLExecDirect("ROLLBACK TO SAVEPOINT savepoint_0");

SQLRowCount returns an error but when SQLError is called there is not error. DBD::ODBC treats an SQL_ERROR from an ODBC call as an error now even if SQLError does not return any error text. The Firebird ODBC driver should not return SQL_ERROR for SQLRowCount unless SQLError can return an error. Either it is not an error or it is.

firebird-automations avatar Mar 06 '11 22:03 firebird-automations