-
Marko Mäkelä authored
After acquiring lock_sys.latch, always load trx->lock.wait_lock. It could have changed by another thread that did lock_rec_move() and released lock_sys.latch right before lock_sys.wr_lock_try() succeeded. This regression was introduced in commit e039720b (MDEV-32096). Reviewed by: Vladislav Lesin
b78b77e7