Commit 74542833 authored by Konstantin Osipov's avatar Konstantin Osipov

next-mr -> next-4284 merge:

fix a merge bug when write_bin_log called from mysql_routine_grant()
would chew up the error.
rpl_do_grant test would fail on assert that the diagnostics area is
empty.
parent a6f80422
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment