summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <tulin@build.mysql.com>2004-09-09 10:41:33 +0200
committerunknown <tulin@build.mysql.com>2004-09-09 10:41:33 +0200
commit9106686846cb87de91afe5068b29caa72e2e537b (patch)
tree08926077476c0cd8f62d6215c6a9dc9c61d8f1bf /sql/sql_class.h
parentc59228f85c881f31e3fa017d15a7c7fba8ab708a (diff)
parent1460e454d066c928de8f95870c72a2515d8bbc79 (diff)
downloadmariadb-git-9106686846cb87de91afe5068b29caa72e2e537b.tar.gz
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into build.mysql.com:/users/tulin/mysql-4.1-ndb-merge sql/ha_ndbcluster.cc: Auto merged sql/handler.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_table.cc: Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 5e221b394df..5a5b0fa81ce 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1021,27 +1021,6 @@ public:
#define SYSTEM_THREAD_SLAVE_SQL 4
/*
- Disables binary logging for one thread, and resets it back to what it was
- before being disabled.
- Some functions (like the internal mysql_create_table() when it's called by
- mysql_alter_table()) must NOT write to the binlog (binlogging is done at the
- at a later stage of the command already, and must be, for locking reasons);
- so we internally disable it temporarily by creating the Disable_binlog
- object and reset the state by destroying the object (don't forget that! or
- write code so that the object gets automatically destroyed when leaving a
- block, see example in sql_table.cc).
-*/
-class Disable_binlog {
-private:
- THD *thd;
- ulong save_options;
-public:
- Disable_binlog(THD *thd_arg);
- ~Disable_binlog();
-};
-
-
-/*
Used to hold information about file and file structure in exchainge
via non-DB file (...INTO OUTFILE..., ...LOAD DATA...)
XXX: We never call destructor for objects of this class.