summaryrefslogtreecommitdiff
path: root/sql/table_cache.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-03-23 10:50:14 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-03-23 10:50:14 +0200
commit3b250837858c137f3a4082af6c0a20f95fde31d4 (patch)
tree9224188f329bb77443e9eb35680f91039e51adaf /sql/table_cache.h
parent1a4998e98271ffd8126331336c4c4ae71029afc7 (diff)
parentf7599f47999bb197dba36e54d0d5677b3b15f12a (diff)
downloadmariadb-git-3b250837858c137f3a4082af6c0a20f95fde31d4.tar.gz
Merge 10.4 into 10.5
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);