函数lock_rec_get_n_bits

 

/*********************************************************************//**
Gets the number of bits in a record lock bitmap.
@return    number of bits */
UNIV_INLINE
ulint
lock_rec_get_n_bits(
/*================*/
    const lock_t*    lock)    /*!< in: record lock */
{
    return(lock->un_member.rec_lock.n_bits);
}

 

posted @ 2015-11-05 17:19  taek  阅读(268)  评论(0编辑  收藏  举报