mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Fix #8112 - Error isc_read_only_trans (335544361) should report SQLSTATE 25006.
This commit is contained in:
parent
2e3e0a298b
commit
639d1fab9a
@ -39,7 +39,7 @@ FB_IMPL_MSG(JRD, 37, open_trans, -901, "01", "002", "cannot disconnect database
|
||||
FB_IMPL_MSG(JRD, 38, port_len, -901, "HY", "000", "message length error (encountered @1, expected @2)")
|
||||
FB_IMPL_MSG(JRD, 39, read_only_field, -151, "42", "000", "attempted update of read-only column @1")
|
||||
FB_IMPL_MSG(JRD, 40, read_only_rel, -150, "42", "000", "attempted update of read-only table")
|
||||
FB_IMPL_MSG(JRD, 41, read_only_trans, -817, "42", "000", "attempted update during read-only transaction")
|
||||
FB_IMPL_MSG(JRD, 41, read_only_trans, -817, "25", "006", "attempted update during read-only transaction")
|
||||
FB_IMPL_MSG(JRD, 42, read_only_view, -150, "42", "000", "cannot update read-only view @1")
|
||||
FB_IMPL_MSG(JRD, 43, req_no_trans, -901, "25", "000", "no transaction for request")
|
||||
FB_IMPL_MSG(JRD, 44, req_sync, -901, "HY", "000", "request synchronization error")
|
||||
|
@ -98,6 +98,7 @@ set bulk_insert INSERT INTO SQLSTATES (SQL_CLASS, SQL_SUBCLASS, SQL_STATE_TEXT)
|
||||
('24', '504', 'The cursor identified in the UPDATE, DELETE, SET, or GET statement is not positioned on a row')
|
||||
-- 25 Invalid Transaction State
|
||||
('25', '000', 'Invalid transaction state')
|
||||
('25', '006', 'Read-only SQL-transaction')
|
||||
('25', 'S01', 'Transaction state')
|
||||
('25', 'S02', 'Transaction is still active')
|
||||
('25', 'S03', 'Transaction is rolled back')
|
||||
|
Loading…
Reference in New Issue
Block a user