summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-01-18 09:50:16 -0500
committerunknown <cmiller@zippy.cornsilk.net>2007-01-18 09:50:16 -0500
commit351b966462232060eb27288275508453406b6401 (patch)
tree1bf7d9531ef8107ad3e76e42166de0e8d48fe5ae /sql/structs.h
parentbd2cc79a95993f088a82c2bc5ccd1ba647bd1c2d (diff)
downloadmariadb-git-351b966462232060eb27288275508453406b6401.tar.gz
Bug#24822: Patch: uptime_since_flush_status
Provide the number of seconds since flush as a new status variable named "Uptime_since_flush_status". --- Override the post-flush value, as a second could pass between the two statements. mysql-test/r/information_schema.result: Test new status variable. --- Override the post-flush value, as a second could pass between the two statements. mysql-test/t/information_schema.test: Test new status variable. --- Override the post-flush value, as a second could pass between the two statements. sql/mysql_priv.h: Add variable to hold previous flush time. sql/mysqld.cc: Add variable to hold previous flush time. Insert name for referring to it, and initialize the value. sql/sql_show.cc: Yield value of elapsed time since flush when asked. sql/structs.h: Add new show-flush-time to SHOW types enumeration.
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h
index 2dcafdef615..4bb4d625cb4 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -174,6 +174,7 @@ enum SHOW_TYPE
SHOW_BOOL, SHOW_MY_BOOL, SHOW_OPENTABLES, SHOW_STARTTIME, SHOW_QUESTION,
SHOW_LONG_CONST, SHOW_INT_CONST, SHOW_HAVE, SHOW_SYS, SHOW_HA_ROWS,
SHOW_VARS,
+ SHOW_FLUSHTIME,
#ifdef HAVE_OPENSSL
SHOW_SSL_CTX_SESS_ACCEPT, SHOW_SSL_CTX_SESS_ACCEPT_GOOD,
SHOW_SSL_GET_VERSION, SHOW_SSL_CTX_GET_SESSION_CACHE_MODE,