• Marko Mäkelä's avatar
    MDEV-21452: Amend HEAD^ · d32ff4ff
    Marko Mäkelä authored
    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.
    d32ff4ff
lock0wait.cc 14.2 KB