summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-11-11 00:36:18 +0200
committerunknown <monty@mysql.com>2004-11-11 00:36:18 +0200
commit5205078ef93edb0b9752285a98aa3616057aad35 (patch)
tree2e577ec9ae86cb235409c15a5e91c554f2225479 /include
parent834d58a65fffeddd08c714a8e4b99ff5d43accab (diff)
downloadmariadb-git-5205078ef93edb0b9752285a98aa3616057aad35.tar.gz
Added possibility to detect if libmysqld is restarted
(Needed to check if memory allocated with mysql_once_init() has been freed) include/my_sys.h: Added possibility to detect if libmysqld is restarted mysys/my_init.c: Added possibility to detect if libmysqld is restarted sql/handler.cc: Detect if libmysqld is restarted Simple optimization of ha_known_exts()
Diffstat (limited to 'include')
-rw-r--r--include/my_sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 01a7482e4d0..a8e21ea2f98 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -214,6 +214,7 @@ extern ulong my_cache_w_requests, my_cache_write, my_cache_r_requests,
my_cache_read;
extern ulong my_blocks_used, my_blocks_changed;
extern ulong my_file_opened,my_stream_opened, my_tmp_file_created;
+extern uint mysys_usage_id;
extern my_bool my_init_done;
/* Point to current my_message() */