diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2016-06-10 17:37:12 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2016-06-10 17:37:12 +0400 |
commit | 7ecb304996df7d917ef1e857090a9a9c525160f1 (patch) | |
tree | 8dc86d3e7cd39c5be91ff9f983f187faca77cbcb /sql/sql_table.cc | |
parent | 2dee76f4359d7e87cd7f4094892a2ed287dce1a8 (diff) | |
download | mariadb-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.cc | 2 |
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); |