summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/log.cc17
-rw-r--r--sql/log.h1
2 files changed, 0 insertions, 18 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 64c7698e2a2..a6ece712099 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -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).
diff --git a/sql/log.h b/sql/log.h
index f1a025edfb9..4471f0be26d 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -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. */