MySQL & MariaDB error 1672 ER_BINLOG_UNSAFE_UDF
MySQLStatement is unsafe because it uses a UDF which may not return the same value on the replica.
MariaDBStatement is unsafe because it uses a UDF which may not return the same value on the slave
How the message changed between versions