Skip to content

Commit

Permalink
MDEV-30863 fixup: Hang in a debug build
Browse files Browse the repository at this point in the history
trx_assign_rseg_low(): Correct a debug injection condition.
  • Loading branch information
dr-m committed Apr 19, 2023
1 parent 485a1b1 commit 1892f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/innobase/trx/trx0trx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ static void trx_assign_rseg_low(trx_t *trx)
rseg = &trx_sys.rseg_array[slot];

do {
ut_d(if (!trx_rseg_n_slots_debug) continue);
ut_d(if (trx_rseg_n_slots_debug) continue);
slot = (slot + 1) % TRX_SYS_N_RSEGS;
ut_ad(start_scan_slot != slot);
} while (0);
Expand Down

0 comments on commit 1892f5d

Please sign in to comment.