Commit e5a0daae authored by unknown's avatar unknown

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

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