diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-06-19 20:58:26 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-06-27 09:40:56 +0200 |
commit | 1ce71c847804c08c23435193763a1aa5cfa51861 (patch) | |
tree | e3fde781344d62c8ebe7478e691fcda17999ee3b /sql/sql_class.h | |
parent | e24caa758890e0a753c0be9293a09f5d2931e377 (diff) | |
download | mariadb-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.h | 2 |
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; |