diff options
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index d2e4f66dd59..e886727fe46 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -4779,6 +4779,11 @@ TABLE *get_purge_table(THD *thd) return thd->open_tables; } +/** Close the purge table for purge thread. */ +void close_purge_table(THD* thd) +{ + close_thread_tables(thd); +} /** Find an open table in the list of prelocked tabled |