summaryrefslogtreecommitdiff
path: root/sql/table_cache.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-06-19 18:20:49 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-11-25 18:49:51 +0400
commit38c2c16cc4aae4c09910537a53a924f7768726dd (patch)
tree089926b6ee7c83de6bb9d1e115d0b73a759e5b58 /sql/table_cache.h
parent092834cd2cd90c73623c019eb030f25740843e81 (diff)
downloadmariadb-git-38c2c16cc4aae4c09910537a53a924f7768726dd.tar.gz
Removed tc_purge() and purge_tables() argument
It was mistakenly used by tdc_start_shutdown() to make sure TABLE_SHARE gets evicted from table definition cache when it becomes unused. However same effect is achieved by resetting tdc_size and tc_size. Part of MDEV-17882 - Cleanup refresh version
Diffstat (limited to 'sql/table_cache.h')
-rw-r--r--sql/table_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table_cache.h b/sql/table_cache.h
index 175f25a5e28..f971c377992 100644
--- a/sql/table_cache.h
+++ b/sql/table_cache.h
@@ -91,7 +91,7 @@ extern int tdc_iterate(THD *thd, my_hash_walk_action action, void *argument,
bool no_dups= false);
extern uint tc_records(void);
-extern void tc_purge(bool mark_flushed= false);
+extern void tc_purge();
extern void tc_add_table(THD *thd, TABLE *table);
extern void tc_release_table(TABLE *table);
extern TABLE *tc_acquire_table(THD *thd, TDC_element *element);