summaryrefslogtreecommitdiff
path: root/sql/sql_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_manager.cc')
-rw-r--r--sql/sql_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_manager.cc b/sql/sql_manager.cc
index 48f81f5e573..029d29d4c76 100644
--- a/sql/sql_manager.cc
+++ b/sql/sql_manager.cc
@@ -21,9 +21,9 @@
* o Berkeley DB: removing unneeded log files.
*/
+#include <my_global.h>
#include "sql_priv.h"
#include "sql_manager.h"
-#include "unireg.h" // REQUIRED: for other includes
#include "sql_base.h" // flush_tables
static bool volatile manager_thread_in_use;
@@ -110,7 +110,7 @@ pthread_handler_t handle_manager(void *arg __attribute__((unused)))
if (error == ETIMEDOUT || error == ETIME)
{
- tdc_flush_unused_tables();
+ tc_purge();
error = 0;
reset_flush_time = TRUE;
}