mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 07:05:33 +02:00
Fix big problem in previous push. (Relay log cleanup would nuke binlog state)
This commit is contained in:
parent
5333dafa84
commit
e5a0daae5a
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue