InnoDB Plugin
1.0
|
#include "univ.i"
#include "dict0types.h"
#include "hash0hash.h"
#include "trx0types.h"
#include "ut0lst.h"
#include "lock0priv.ic"
Go to the source code of this file.
Data Structures | |
struct | lock_table_t |
struct | lock_rec_t |
struct | lock_t |
Functions | |
UNIV_INLINE ulint | lock_get_type_low (const lock_t *lock) |
UNIV_INTERN const lock_t * | lock_rec_get_prev (const lock_t *in_lock, ulint heap_no) |
UNIV_INTERN void | lock_cancel_waiting_and_release (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 structures and methods.
Created July 12, 2007 Vasil Dimov
UNIV_INTERN void lock_cancel_waiting_and_release | ( | lock_t * | lock | ) |
Cancels a waiting lock request and releases possible other transactions waiting behind it. in/out: waiting lock request
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.
Gets the type of a lock.
lock | in: lock |