summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authormats@kindahl-laptop.dnsalias.net <>2007-11-08 08:54:19 +0100
committermats@kindahl-laptop.dnsalias.net <>2007-11-08 08:54:19 +0100
commit6921dd0156939aa8d9230d8690c2eb47d2342d8a (patch)
tree0829eb1d0574e5ef45d0fde980cee5ae7110bc07 /sql/sql_binlog.cc
parent3434e4ed309e26d6aacefd28b1c2ec3e851e8dd9 (diff)
parent31787d3d56880b8df5a4e432ff08f5dcf41830c6 (diff)
downloadmariadb-git-6921dd0156939aa8d9230d8690c2eb47d2342d8a.tar.gz
Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.1
into kindahl-laptop.dnsalias.net:/home/bk/b31611-mysql-5.1-target-5.1.22
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r--sql/sql_binlog.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc
index a3a804db8f0..fa6aa8f5881 100644
--- a/sql/sql_binlog.cc
+++ b/sql/sql_binlog.cc
@@ -37,6 +37,9 @@ void mysql_client_binlog_statement(THD* thd)
thd->lex->comment.length : 2048),
thd->lex->comment.str));
+ if (check_global_access(thd, SUPER_ACL))
+ DBUG_VOID_RETURN;
+
/*
Temporarily turn off send_ok, since different events handle this
differently