MDEV-21452: Amend HEAD^
To hopefully avoid increasing contention on lock_sys.mutex, let us additionally protect trx->lock.wait_lock with trx->mutex so that lock_wait_suspend_thread() can avoid acquiring lock_sys.mutex and use trx_t::mutex instead.
Showing
Please register or sign in to comment