mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
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:
parent
5d8ade4b1e
commit
cda4afc2bf
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue