From 5a78b4c746555d4c1891ce82d4c0b2d23125caff Mon Sep 17 00:00:00 2001 From: "ingo@mysql.com" <> Date: Mon, 3 May 2004 15:55:21 +0200 Subject: WL#1700 - Properly count key_blocks_used and key_blocks_current. Introduced a new free blocks list. Free blocks are now re-used before new blocks are allocated from the pool. There is a new status variable which can be queried by "show status like key_blocks_unused". --- sql/sql_show.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_show.cc') diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 448dc825a26..51b44af63ec 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -2021,6 +2021,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables, #endif /* HAVE_OPENSSL */ case SHOW_KEY_CACHE_LONG: + case SHOW_KEY_CACHE_CONST_LONG: value= (value-(char*) &dflt_key_cache_var)+ (char*) sql_key_cache; end= int10_to_str(*(long*) value, buff, 10); break; -- cgit v1.2.1