summaryrefslogtreecommitdiff
path: root/sql/sql_base.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-06-10 17:37:12 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-06-10 17:37:12 +0400
commit7ecb304996df7d917ef1e857090a9a9c525160f1 (patch)
tree8dc86d3e7cd39c5be91ff9f983f187faca77cbcb /sql/sql_base.h
parent2dee76f4359d7e87cd7f4094892a2ed287dce1a8 (diff)
downloadmariadb-git-7ecb304996df7d917ef1e857090a9a9c525160f1.tar.gz
Code cleanups
- unused TABLE_SHARE::deleting and TABLE_LIST::deleting flags were removed - kill_delayed_threads_for_table() and intern_close_table() are now private methods of table cache - removed free_share flag of closefrm(): it was never used for temporary tables and was rarely useful for regular tables
Diffstat (limited to 'sql/sql_base.h')
-rw-r--r--sql/sql_base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_base.h b/sql/sql_base.h
index d6bd0e2ace7..040e2897582 100644
--- a/sql/sql_base.h
+++ b/sql/sql_base.h
@@ -271,8 +271,6 @@ bool open_normal_and_derived_tables(THD *thd, TABLE_LIST *tables, uint flags,
uint dt_phases);
bool lock_tables(THD *thd, TABLE_LIST *tables, uint counter, uint flags);
int decide_logging_format(THD *thd, TABLE_LIST *tables);
-void intern_close_table(TABLE *entry);
-void kill_delayed_threads_for_table(TDC_element *element);
void close_thread_table(THD *thd, TABLE **table_ptr);
bool close_temporary_tables(THD *thd);
TABLE_LIST *unique_table(THD *thd, TABLE_LIST *table, TABLE_LIST *table_list,