#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
Definition at line 67 of file lock0priv.h.
hash_node_t lock_struct::hash |
hash chain node for a record lock
Definition at line 77 of file lock0priv.h.
dict_index_t* lock_struct::index |
index for a record lock
Definition at line 79 of file lock0priv.h.
Referenced by lock_move_rec_list_end(), lock_move_rec_list_start(), lock_move_reorganize_page(), lock_rec_get_index(), lock_rec_get_index_name(), and lock_rec_print().
lock_rec_t lock_struct::rec_lock |
record lock
Definition at line 82 of file lock0priv.h.
Referenced by lock_print_info_all_transactions(), lock_rec_get_page_no(), lock_rec_get_prev(), lock_rec_get_space_id(), and lock_rec_print().
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().
trx_t* lock_struct::trx |
transaction owning the lock
Definition at line 68 of file lock0priv.h.
Referenced by lock_cancel_waiting_and_release(), lock_get_trx_id(), lock_has_to_wait(), lock_is_table_exclusive(), lock_move_rec_list_end(), lock_move_rec_list_start(), lock_move_reorganize_page(), lock_rec_print(), lock_rec_unlock(), lock_remove_all_on_table(), 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().
union { ... } lock_struct::un_member |