Fix big problem in previous push. (Relay log cleanup would nuke binlog state)
This commit is contained in:
parent
5333dafa84
commit
e5a0daae5a
@ -2999,7 +2999,8 @@ 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
|
||||||
*/
|
*/
|
||||||
rpl_global_gtid_binlog_state.free();
|
if (!is_relay_log)
|
||||||
|
rpl_global_gtid_binlog_state.free();
|
||||||
DBUG_VOID_RETURN;
|
DBUG_VOID_RETURN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user