- handler binlog's must be shutdoem before logger.cleanup_base
This commit is contained in:
tomas@whalegate.ndb.mysql.com 2007-06-16 11:16:02 +02:00
parent 2b2bdf74a3
commit 8d31148899

View file

@ -1143,13 +1143,14 @@ void clean_up(bool print_message)
if (cleanup_done++) if (cleanup_done++)
return; /* purecov: inspected */ return; /* purecov: inspected */
logger.cleanup_base();
/* /*
make sure that handlers finish up make sure that handlers finish up
what they have that is dependent on the binlog what they have that is dependent on the binlog
*/ */
ha_binlog_end(current_thd); ha_binlog_end(current_thd);
logger.cleanup_base();
injector::free_instance(); injector::free_instance();
mysql_bin_log.cleanup(); mysql_bin_log.cleanup();