BUG#31611 (Security risk with BINLOG statement):

Incremental patch to remove redundant, but benign, my_error() call.
This commit is contained in:
mats@kindahl-laptop.dnsalias.net 2007-11-05 14:24:20 +01:00
parent ce78ae901c
commit 31787d3d56

View file

@ -38,10 +38,7 @@ void mysql_client_binlog_statement(THD* thd)
thd->lex->comment.str));
if (check_global_access(thd, SUPER_ACL))
{
my_error(ER_SPECIFIC_ACCESS_DENIED_ERROR, MYF(0), "SUPER");
DBUG_VOID_RETURN;
}
/*
Temporarily turn off send_ok, since different events handle this