Commit cd79be82 authored by Sergei Golubchik's avatar Sergei Golubchik

cleanup: unused method LOGGER::flush_logs

parent 06ee58a7
......@@ -1197,23 +1197,6 @@ void LOGGER::init_log_tables()
}
bool LOGGER::flush_logs(THD *thd)
{
/*
Now we lock logger, as nobody should be able to use logging routines while
log tables are closed
*/
logger.lock_exclusive();
/* reopen log files */
file_log_handler->flush();
/* end of log flush */
logger.unlock();
return 0;
}
/**
Close and reopen the slow log (with locks).
......
......@@ -1016,7 +1016,6 @@ class LOGGER
*/
void init_base();
void init_log_tables();
bool flush_logs(THD *thd);
bool flush_slow_log();
bool flush_general_log();
/* Perform basic logger cleanup. this will leave e.g. error log open. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment