1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
Konstantin Osipov
2010-02-05 13:25:32 +03:00
parent 5deaf55a1c
commit 293268c6c2

View File

@ -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;
}