summaryrefslogtreecommitdiff
path: root/sql/table_cache.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2020-03-21 18:36:31 +0400
committerSergey Vojtovich <svoj@mariadb.org>2020-03-21 18:37:19 +0400
commit62687801ffedc8521e3dbb111f26e7668902949c (patch)
tree364b713b1ac253d1a17ec164fc01af565ab69da7 /sql/table_cache.h
parent3b3f931570266487d9a9a2536514fe37b5297b37 (diff)
downloadmariadb-git-62687801ffedc8521e3dbb111f26e7668902949c.tar.gz
tc_active_instances: my_atomic to std::atomic
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 611980c615f..3be7b5fe413 100644
--- a/sql/table_cache.h
+++ b/sql/table_cache.h
@@ -71,7 +71,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);
@@ -98,6 +97,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(bool mark_flushed= false);
extern void tc_add_table(THD *thd, TABLE *table);
extern void tc_release_table(TABLE *table);