mysqldude
Error codes › 1785

MySQL & MariaDB error 1785 ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE

MySQLStatement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
MariaDBWhen ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables
MySQLMariaDB
SymbolER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLEER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.6.51 activesince 10.0.38 active
How the message changed between versions
MySQL fromSymbolMessage
5.6.51ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLEWhen @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
5.7.44ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLEStatement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
MariaDB fromSymbolMessage
10.0.38ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLEWhen ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
10.2.44ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLEWhen ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables