summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 6cc22b22d6c..44af0b7d66e 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1006,7 +1006,6 @@ public:
of the main statement is called.
*/
enum enum_locked_tables_mode locked_tables_mode;
- ulong version;
uint current_tablenr;
enum enum_flags {
@@ -1025,15 +1024,6 @@ public:
*/
Open_tables_state() : state_flags(0U) { }
- /**
- Prepare Open_tables_state instance for operations dealing with tables.
- */
- void init_open_tables_state(THD *thd, ulong version_arg)
- {
- reset_open_tables_state(thd);
- version= version_arg;
- }
-
void set_open_tables_state(Open_tables_state *state)
{
*this= *state;