Commit e5a0daae authored by unknown's avatar unknown

Fix big problem in previous push. (Relay log cleanup would nuke binlog state)

parent 5333dafa
...@@ -2999,6 +2999,7 @@ void MYSQL_BIN_LOG::cleanup() ...@@ -2999,6 +2999,7 @@ void MYSQL_BIN_LOG::cleanup()
We can't do that automaticly as we need to do this before We can't do that automaticly as we need to do this before
safemalloc is shut down safemalloc is shut down
*/ */
if (!is_relay_log)
rpl_global_gtid_binlog_state.free(); rpl_global_gtid_binlog_state.free();
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
} }
......
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