• Marko Mäkelä's avatar
    lock_table_create(), lock_rec_create(): Clean up the WSREP code · d2a15092
    Marko Mäkelä authored
    By definition, c_lock->trx->lock.wait_lock==c_lock cannot hold.
    That is, the owner transaction of a lock cannot be waiting for that
    particular lock. It must have been waiting for some other lock.
    Remove the dead code related to that. Also, test c_lock for NULLness
    only once.
    d2a15092
lock0lock.cc 208 KB