diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 0ec8671abaf..cf379417149 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -3419,7 +3419,7 @@ bool mysql_routine_grant(THD *thd, TABLE_LIST *table_list, bool is_proc, if (write_to_binlog) { - if (write_bin_log(thd, TRUE, thd->query(), thd->query_length())) + if (write_bin_log(thd, FALSE, thd->query(), thd->query_length())) result= TRUE; }