summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authormats@kindahl-laptop.dnsalias.net <>2007-11-05 14:24:20 +0100
committermats@kindahl-laptop.dnsalias.net <>2007-11-05 14:24:20 +0100
commit31787d3d56880b8df5a4e432ff08f5dcf41830c6 (patch)
tree6f07e3cc6ff588090cb5bacf4cf5bdfbd62014b6 /sql/sql_binlog.cc
parentce78ae901c7c757fe2ce739a585f680b5f47f61b (diff)
downloadmariadb-git-31787d3d56880b8df5a4e432ff08f5dcf41830c6.tar.gz
BUG#31611 (Security risk with BINLOG statement):
Incremental patch to remove redundant, but benign, my_error() call.
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r--sql/sql_binlog.cc3
1 files changed, 0 insertions, 3 deletions
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