From cda4afc2bfbd508ab189eedb1c0dfbe4861533b4 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 5 Nov 2007 14:24:20 +0100 Subject: 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. --- sql/sql_binlog.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'sql') diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc index 95eea9f20fa..ee78c244fe4 100644 --- a/sql/sql_binlog.cc +++ b/sql/sql_binlog.cc @@ -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 -- cgit v1.2.1