summaryrefslogtreecommitdiff
path: root/sql/table_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/table_cache.h')
-rw-r--r--sql/table_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table_cache.h b/sql/table_cache.h
index f971c377992..37faab87f0c 100644
--- a/sql/table_cache.h
+++ b/sql/table_cache.h
@@ -68,7 +68,6 @@ enum enum_tdc_remove_table_type
extern ulong tdc_size;
extern ulong tc_size;
extern uint32 tc_instances;
-extern uint32 tc_active_instances;
extern bool tdc_init(void);
extern void tdc_start_shutdown(void);
@@ -91,6 +90,8 @@ extern int tdc_iterate(THD *thd, my_hash_walk_action action, void *argument,
bool no_dups= false);
extern uint tc_records(void);
+int show_tc_active_instances(THD *thd, SHOW_VAR *var, char *buff,
+ enum enum_var_type scope);
extern void tc_purge();
extern void tc_add_table(THD *thd, TABLE *table);
extern void tc_release_table(TABLE *table);