diff options
author | Andrei <andrei.elkin@mariadb.com> | 2021-12-21 14:00:34 +0200 |
---|---|---|
committer | Andrei <andrei.elkin@mariadb.com> | 2021-12-21 14:00:34 +0200 |
commit | 257b75b07191548c43d3590c644e112bf497aa76 (patch) | |
tree | bb4ad74fbc730e03d9baec4a409618905d40577e | |
parent | a404ec3f569cecbaa4cef254d6228300cc984d16 (diff) | |
download | mariadb-git-257b75b07191548c43d3590c644e112bf497aa76.tar.gz |
Corrected the previous commit that broke SA shutdown loop prematurely.
-rw-r--r-- | sql/rpl_parallel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_parallel.cc b/sql/rpl_parallel.cc index 2ffef9b5dd7..4b305e9a57a 100644 --- a/sql/rpl_parallel.cc +++ b/sql/rpl_parallel.cc @@ -2647,7 +2647,7 @@ rpl_parallel::wait_for_done(THD *thd, Relay_log_info *rli) if (info->state == start_alter_state::COMPLETED) { mysql_mutex_unlock(&mi->start_alter_lock); - break; + continue; } info->state= start_alter_state::ROLLBACK_ALTER; // Any possible CA that is (will be) waiting will complete this ALTER instance |