BUG#31611 (Security risk with BINLOG statement):

Incremental patch to remove redundant, but benign, my_error() call.


sql/sql_binlog.cc:
  Removing redundant error reporting.
This commit is contained in:
unknown 2007-11-05 14:24:20 +01:00
parent 5d8ade4b1e
commit cda4afc2bf

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