• Marko Mäkelä's avatar
    lock_table_create(), lock_rec_create(): Clean up the WSREP code · 723f87e9
    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.
    723f87e9
lock0lock.cc 226 KB