summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
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_table.cc
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_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 91e0369d7a3..296953b3375 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -4889,7 +4889,7 @@ int create_table_impl(THD *thd,
open_table_from_share(thd, &share, "", 0, (uint) READ_ALL,
0, &table, true));
if (!result)
- (void) closefrm(&table, 0);
+ (void) closefrm(&table);
free_table_share(&share);