mysqldude
Error codes › MY-013099

MySQL error MY-013099 OBSOLETE_ER_RPL_GTID_UNSAFE_STMT_ON_TEMPORARY_TABLE

Error messageStatement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context. These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.
SymbolOBSOLETE_ER_RPL_GTID_UNSAFE_STMT_ON_TEMPORARY_TABLE
SQLSTATEHY000
TypeServer error-log message
Versionssince 8.0.11; now an unused placeholder (since 8.0.16) obsolete
How the message changed between versions
MySQL fromSymbolMessage
8.0.11ER_RPL_GTID_UNSAFE_STMT_ON_TEMPORARY_TABLEStatement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context. These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.
8.0.16OBSOLETE_ER_RPL_GTID_UNSAFE_STMT_ON_TEMPORARY_TABLEStatement violates GTID consistency: CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can only be executed outside transactional context. These statements are also not allowed in a function or trigger because functions and triggers are also considered to be multi-statement transactions.

Messages numbered MY-010000 and up are written to the MySQL server error log (MySQL 8.0 and later); they are not returned to clients.