MySQL & MariaDB error 1673 ER_BINLOG_UNSAFE_SYSTEM_VARIABLE
MySQLStatement is unsafe because it uses a system variable that may have a different value on the replica.
MariaDBStatement is unsafe because it uses a system variable that may have a different value on the slave
How the message changed between versions