• Sunny Bains's avatar
    Fix bug introduced by r3038. When a transaction is rolled back by the · 248dd65f
    Sunny Bains authored
    lock monitor thread, it may have locks that are granted to waited to
    waiting transactions. These waiting transactions will need to be woken
    up but their trx->lock_wait_timeout flag will be FALSE causing the old
    code to break. What we need is a flag that covers the entire lock
    release process not individual transactions. The fix is to move the
    flag out of trx_t and into srv_sys_t.
    248dd65f
srv0srv.c 92.6 KB