From 41d95c504976746e4d117a4f97e18004f36eb70e Mon Sep 17 00:00:00 2001 From: Konstantin Osipov Date: Thu, 10 Jun 2010 15:43:32 +0400 Subject: A pre-requisite for WL#5419 "LOCK_open scalability: make tdc_refresh_version an atomic counter". Backport the trivial changes from mysql-trunk-iplus. --- sql/sql_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_base.h') diff --git a/sql/sql_base.h b/sql/sql_base.h index 928b8339f15..38194f94a37 100644 --- a/sql/sql_base.h +++ b/sql/sql_base.h @@ -233,7 +233,6 @@ bool rename_temporary_table(THD* thd, TABLE *table, const char *new_db, const char *table_name); void mysql_wait_completed_table(ALTER_PARTITION_PARAM_TYPE *lpt, TABLE *my_table); void remove_db_from_cache(const char *db); -void flush_tables(); bool is_equal(const LEX_STRING *a, const LEX_STRING *b); /* Functions to work with system tables. */ @@ -263,6 +262,7 @@ void tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type, bool tdc_open_view(THD *thd, TABLE_LIST *table_list, const char *alias, char *cache_key, uint cache_key_length, MEM_ROOT *mem_root, uint flags); +void tdc_flush_unused_tables(); TABLE *find_table_for_mdl_upgrade(TABLE *list, const char *db, const char *table_name, bool no_error); -- cgit v1.2.1