summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-06-19 20:58:26 +0200
committerSergei Golubchik <serg@mariadb.org>2015-06-27 09:40:56 +0200
commit1ce71c847804c08c23435193763a1aa5cfa51861 (patch)
treee3fde781344d62c8ebe7478e691fcda17999ee3b /sql/sql_class.h
parente24caa758890e0a753c0be9293a09f5d2931e377 (diff)
downloadmariadb-git-1ce71c847804c08c23435193763a1aa5cfa51861.tar.gz
MDEV-7832 Add status variables to track CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE
Pretend that CREATE TABLE and CREATE TEMPORARY TABLE are two different commands internally. The user doesn't need to know that they both are SQLCOM_CREATE_TABLE. Same for DROP [TEMPORARY] TABLE
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 0306a8c609e..37b1dd9d43d 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -675,6 +675,8 @@ typedef struct system_variables
typedef struct system_status_var
{
ulong com_stat[(uint) SQLCOM_END];
+ ulong com_create_tmp_table;
+ ulong com_drop_tmp_table;
ulong com_other;
ulong com_stmt_prepare;