|
MySQL 5.6.14 Source Code Document
|
#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.
Classes | |
| 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) __attribute__((nonnull |
Variables | |
| UNIV_INLINE trx_id_t | warn_unused_result |
Lock module internal structures and methods.
Created July 12, 2007 Vasil Dimov
Definition in file lock0priv.h.
| 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
Cancels a waiting lock request and releases possible other transactions waiting behind it.
| lock | in/out: waiting lock request |
Definition at line 6719 of file lock0lock.cc.


| 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 previous record lock set on a record.
Gets the previous record lock set on a record.
| in_lock | in: record lock |
| heap_no | in: heap number of the record |
Definition at line 1385 of file lock0lock.cc.

