MySQL & MariaDB error 1693 ER_BINLOG_UNSAFE_MIXED_STATEMENT
MySQLStatement accesses nontransactional table as well as transactional or temporary table, and writes to any of them.
MariaDBStatement accesses nontransactional table as well as transactional or temporary table, and writes to any of them
How the message changed between versions