• Marko Mäkelä's avatar
    MDEV-16136: Simplify trx_lock_t memory management · 3ce8a0fc
    Marko Mäkelä authored
    Allocate trx->lock.rec_pool and trx->lock.table_pool directly from trx_t.
    Remove unnecessary use of std::vector.
    
    In order to do this, move some definitions from lock0priv.h to
    lock0types.h, so that ib_lock_t will not be an opaque type.
    3ce8a0fc
lock0lock.cc 205 KB