Com binary logging ativo, declare funções como DETERMINISTIC, NO SQL ou READS SQL DATA, ou ajuste log_bin_trust_function_creators.
Com binary logging ativo, declare funções como DETERMINISTIC, NO SQL ou READS SQL DATA, ou ajuste log_bin_trust_function_creators.