mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Fix purge_relay_logs post merge
slave_skip_counter must not be reset to 0 during purge_relay_logs. See MDEV-4937 as to when this change happened.
This commit is contained in:
parent
7134afa22e
commit
af40426fcd
1 changed files with 0 additions and 1 deletions
|
@ -1167,7 +1167,6 @@ int purge_relay_logs(Relay_log_info* rli, THD *thd, bool just_reset,
|
|||
DBUG_ASSERT(rli->slave_running == 0);
|
||||
DBUG_ASSERT(rli->mi->slave_running == 0);
|
||||
}
|
||||
rli->slave_skip_counter=0;
|
||||
mysql_mutex_lock(&rli->data_lock);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue