summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authorunknown <mats@kindahl-laptop.dnsalias.net>2007-11-05 14:24:20 +0100
committerunknown <mats@kindahl-laptop.dnsalias.net>2007-11-05 14:24:20 +0100
commitcda4afc2bfbd508ab189eedb1c0dfbe4861533b4 (patch)
tree6f07e3cc6ff588090cb5bacf4cf5bdfbd62014b6 /sql/sql_binlog.cc
parent5d8ade4b1e7666da261cd29adec6dd94e0dbdf90 (diff)
downloadmariadb-git-cda4afc2bfbd508ab189eedb1c0dfbe4861533b4.tar.gz
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.
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