summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authoringo@mysql.com <>2004-09-24 18:39:25 +0200
committeringo@mysql.com <>2004-09-24 18:39:25 +0200
commite47decfa7f2e984558d3dc48d19dd94d8ec0b956 (patch)
treea7fa518d00c8423d3bb03ef38730994e9cf13df1 /sql/sql_class.h
parent38f462ae6f8ae71157520b27abf3f7abc6858eff (diff)
downloadmariadb-git-e47decfa7f2e984558d3dc48d19dd94d8ec0b956.tar.gz
BUG#4286 - HANDLER tables are closed by FLUSH TABLE(S).
BUG#4335 - one name can be handler open'ed many times. Reworked the HANDLER functions and interface. Using a HASH to store information on open tables that survives FLUSH TABLE. HANDLER tables alias names must now be unique, though it is allowed in 4.0 to qualify them with the database name of the base table.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 30947041b7d..d84a5ba88ff 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -421,6 +421,7 @@ public:
and are still in use by this thread
*/
TABLE *open_tables,*temporary_tables, *handler_tables;
+ HASH handler_tables_hash;
// TODO: document the variables below
MYSQL_LOCK *lock,*locked_tables;
ULL *ull;