summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-08-31 13:53:49 +0400
committerAlexander Nozdrin <alik@sun.com>2010-08-31 13:53:49 +0400
commitb4badf8013f0f9441a7a3d67aa746691a11a2683 (patch)
tree477f988eb9b2ce1101bf4cc56e0a88da17fb61b8 /sql
parent65c5e8dcbf829c1e554b44363c4d264202514513 (diff)
downloadmariadb-git-b4badf8013f0f9441a7a3d67aa746691a11a2683.tar.gz
Remove unused enum (enum open_table_mode).
It was added by mistake during backport from 6.0.
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_base.h1
-rw-r--r--sql/table.h12
2 files changed, 0 insertions, 13 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h
index 1a1f2d957f3..56776bde1cc 100644
--- a/sql/sql_base.h
+++ b/sql/sql_base.h
@@ -17,7 +17,6 @@
#define SQL_BASE_INCLUDED
#include "unireg.h" // REQUIRED: for other includes
-#include "table.h" /* open_table_mode */
#include "sql_trigger.h" /* trg_event_type */
#include "sql_class.h" /* enum_mark_columns */
#include "mysqld.h" /* key_map */
diff --git a/sql/table.h b/sql/table.h
index aa177c99856..ea93b321b5a 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -83,18 +83,6 @@ enum enum_table_ref_type
};
-/**
- Opening modes for open_temporary_table and open_table_from_share
-*/
-
-enum open_table_mode
-{
- OTM_OPEN= 0,
- OTM_CREATE= 1,
- OTM_ALTER= 2
-};
-
-
/*************************************************************************/
/**