diff --git a/storage/innobase/trx/trx0trx.cc b/storage/innobase/trx/trx0trx.cc index 29a5a9be1a9..d2feed6debb 100644 --- a/storage/innobase/trx/trx0trx.cc +++ b/storage/innobase/trx/trx0trx.cc @@ -1128,9 +1128,6 @@ static trx_rseg_t *get_next_redo_rseg_from_undo_spaces() { /* Check again with a shared lock. */ rseg = undo_space->get_active(rseg_slot); - if (rseg == nullptr) { - continue; - } } undo::spaces->s_unlock();