InnoDB Plugin
1.0
|
Functions | |
UNIV_INLINE ulint | lock_get_type_low (const lock_t *lock) |
UNIV_INLINE trx_id_t | lock_clust_rec_some_has_impl (const rec_t *rec, const dict_index_t *index, const ulint *offsets) |
Lock module internal inline methods.
Created July 16, 2007 Vasil Dimov
UNIV_INLINE trx_id_t lock_clust_rec_some_has_impl | ( | const rec_t * | rec, |
const dict_index_t * | index, | ||
const ulint * | offsets | ||
) |
Checks if some transaction has an implicit x-lock on a record in a clustered index.
rec | in: user record |
index | in: clustered index |
offsets | in: rec_get_offsets(rec, index) |
UNIV_INLINE ulint lock_get_type_low | ( | const lock_t * | lock | ) |
Gets the type of a lock.
lock | in: lock |