Firebird Documentation IndexFirebird 3.0.2 Release NotesCompatibility Issues → Unexpected GDSCODE Errors
Firebird Home Firebird Home Prev: Trace Configuration SyntaxFirebird Documentation IndexUp: Compatibility IssuesNext: Remote Client Recognition

Unexpected GDSCODE Errors

An unexpected GDSCODE may be returned for UPDATE/DELETE statements, viz. isc_deadlock instead of isc_lock_conflict.

In fact, the complete error stack previously contained {isc_lock_conflict, isc_deadlock, isc_update_conflict}, whereas it now contains, more correctly, {isc_deadlock, isc_update_conflict}.

However, the GDSCODE system variable returns the first error element, thus causing possible compatibility issues. Be sure that, besides isc_lock_conflict, your error handlers for updates and deletes also check for the other error codes, isc_deadlock and isc_update_conflict.

Prev: Trace Configuration SyntaxFirebird Documentation IndexUp: Compatibility IssuesNext: Remote Client Recognition
Firebird Documentation IndexFirebird 3.0.2 Release NotesCompatibility Issues → Unexpected GDSCODE Errors