summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-09-07 15:18:53 +0200
committerserg@serg.mylan <>2004-09-07 15:18:53 +0200
commit413a8753e2f7582b0a4a0716014a9e260b20b9c8 (patch)
treeeb69e64fb069e7468a92e59eca620860f68aff61 /sql/sql_class.h
parent30b7504330171890858d40e875b38d0a44c6cd9f (diff)
parent707def6fd0914e673cd9bde1271a59de2af5ef2c (diff)
downloadmariadb-git-413a8753e2f7582b0a4a0716014a9e260b20b9c8.tar.gz
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 a8035cffd96..1c4a0af6f23 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1020,27 +1020,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.