1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-10296 - Multi-instance table cache

Improve scalability by implementing multi-instance table cache.
This commit is contained in:
Sergey Vojtovich
2016-06-29 16:33:08 +04:00
parent 6c1c27ea11
commit 7e9ac7b8ac
9 changed files with 189 additions and 188 deletions

View File

@ -878,8 +878,7 @@ void close_thread_table(THD *thd, TABLE **table_ptr)
Do this *before* entering the TABLE_SHARE::tdc.LOCK_table_share
critical section.
*/
if (table->file != NULL)
MYSQL_UNBIND_TABLE(table->file);
MYSQL_UNBIND_TABLE(table->file);
tc_release_table(table);
DBUG_VOID_RETURN;