Currently error isc_read_only_trans (335544361) reports SQLSTATE 42000 (syntax error or access rule violation). It should report SQLSTATE 25006 (invalid transaction state, read-only SQL-transaction). See ISO/IEC 9075-2:2023, section 24.1 SQLSTATE, and the general rules for various modifying DML.
Currently error
isc_read_only_trans
(335544361) reports SQLSTATE 42000 (syntax error or access rule violation). It should report SQLSTATE 25006 (invalid transaction state, read-only SQL-transaction). See ISO/IEC 9075-2:2023, section 24.1 SQLSTATE, and the general rules for various modifying DML.