mysqldude
Error codes › 4010

MySQL & MariaDB error 4010 ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDL

Same number, two different errors. 4010 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLThe statement is unsafe because it updates a table depending on ACL table read operation. As storage engine row locks are skipped for ACL table, it may not have same effect on source and replica.
MariaDBMultiple window specifications with the same name '…'
MySQLMariaDB
SymbolER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDLER_DUP_WINDOW_NAME
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 8.0.26 activesince 10.2.44 active
How the message changed between versions
MySQL fromSymbolMessage
8.0.26ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDLThe statement is unsafe because it updates a table depending on ACL table read operation. As storage engine row locks are skipped for ACL table, it may not have same effect on master and slave.
8.0.36ER_BINLOG_UNSAFE_ACL_TABLE_READ_IN_DML_DDLThe statement is unsafe because it updates a table depending on ACL table read operation. As storage engine row locks are skipped for ACL table, it may not have same effect on source and replica.