Commit 1892f5d8 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-30863 fixup: Hang in a debug build

trx_assign_rseg_low(): Correct a debug injection condition.
parent 485a1b1f
...@@ -821,7 +821,7 @@ static void trx_assign_rseg_low(trx_t *trx) ...@@ -821,7 +821,7 @@ static void trx_assign_rseg_low(trx_t *trx)
rseg = &trx_sys.rseg_array[slot]; rseg = &trx_sys.rseg_array[slot];
do { 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; slot = (slot + 1) % TRX_SYS_N_RSEGS;
ut_ad(start_scan_slot != slot); ut_ad(start_scan_slot != slot);
} while (0); } while (0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment