1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

cleanup: unused method LOGGER::flush_logs

This commit is contained in:
Sergei Golubchik
2017-04-06 14:47:55 +02:00
parent 06ee58a7dd
commit cd79be82d1
2 changed files with 0 additions and 18 deletions

View File

@@ -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).

View File

@@ -1016,7 +1016,6 @@ public:
*/
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. */