summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-09-06 22:47:50 +0200
committerunknown <guilhem@mysql.com>2004-09-06 22:47:50 +0200
commitd00627758bbf945f3d6ef94ff4da67e698ce8964 (patch)
tree5e029b73e1d2407b7236fc147bfdb1b05c920f24 /sql/log.cc
parent3cc52624112aa7d7785b532e70930adbc366d026 (diff)
parentea971987fcc8479fdd3fbf185efedd8ed7ccbfd6 (diff)
downloadmariadb-git-d00627758bbf945f3d6ef94ff4da67e698ce8964.tar.gz
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0
into mysql.com:/home/mysql_src/mysql-4.0-opt sql/log.cc: Auto merged
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 151d613f637..fee77b38f21 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1682,22 +1682,6 @@ void MYSQL_LOG::set_max_size(ulong max_size_arg)
}
-Disable_binlog::Disable_binlog(THD *thd_arg) :
- thd(thd_arg),
- save_options(thd_arg->options), save_master_access(thd_arg->master_access)
-{
- thd_arg->options&= ~OPTION_BIN_LOG;
- thd_arg->master_access|= SUPER_ACL; // unneeded in 4.1
-};
-
-
-Disable_binlog::~Disable_binlog()
-{
- thd->options= save_options;
- thd->master_access= save_master_access;
-}
-
-
/*
Check if a string is a valid number