Drizzled Public API Documentation

lock_struct Struct Reference

#include <lock0priv.h>

List of all members.

Public Attributes

trx_ttrx
 trx_locks
ulint type_mode
hash_node_t hash
dict_index_tindex
union {
   lock_table_t   tab_lock
   lock_rec_t   rec_lock
un_member

Detailed Description

Lock struct

Definition at line 67 of file lock0priv.h.


Member Data Documentation

hash_node_t lock_struct::hash

hash chain node for a record lock

Definition at line 77 of file lock0priv.h.

lock_rec_t lock_struct::rec_lock
lock_table_t lock_struct::tab_lock

table lock

Definition at line 81 of file lock0priv.h.

Referenced by lock_get_src_table(), lock_is_table_exclusive(), lock_release_off_kernel(), and lock_table_print().

lock_struct::trx_locks

list of the locks of the transaction

Definition at line 71 of file lock0priv.h.

ulint lock_struct::type_mode

lock type, mode, LOCK_GAP or LOCK_REC_NOT_GAP, LOCK_INSERT_INTENTION, wait flag, ORed

Definition at line 73 of file lock0priv.h.

Referenced by lock_has_to_wait(), lock_move_rec_list_end(), lock_move_rec_list_start(), and lock_move_reorganize_page().


The documentation for this struct was generated from the following file: