MySQL 5.6.14 Source Code Document
|
#include <lock0priv.h>
Public Attributes | |
trx_t * | trx |
trx_locks | |
ulint | type_mode |
hash_node_t | hash |
dict_index_t * | index |
union { | |
lock_table_t tab_lock | |
lock_rec_t rec_lock | |
} | un_member |
Lock struct; protected by lock_sys->mutex
Definition at line 62 of file lock0priv.h.
hash_node_t lock_t::hash |
hash chain node for a record lock
Definition at line 72 of file lock0priv.h.
dict_index_t* lock_t::index |
index for a record lock
Definition at line 74 of file lock0priv.h.
lock_rec_t lock_t::rec_lock |
record lock
Definition at line 77 of file lock0priv.h.
lock_table_t lock_t::tab_lock |
table lock
Definition at line 76 of file lock0priv.h.
trx_t* lock_t::trx |
transaction owning the lock
Definition at line 63 of file lock0priv.h.
lock_t::trx_locks |
list of the locks of the transaction
Definition at line 66 of file lock0priv.h.
ulint lock_t::type_mode |
lock type, mode, LOCK_GAP or LOCK_REC_NOT_GAP, LOCK_INSERT_INTENTION, wait flag, ORed
Definition at line 68 of file lock0priv.h.
union { ... } lock_t::un_member |
lock details