drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
lock_struct Struct Reference

#include <lock0priv.h>

Collaboration diagram for lock_struct:
[legend]

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

Detailed Description

Lock struct

Definition at line 67 of file lock0priv.h.

Member Data Documentation

◆ hash

hash_node_t lock_struct::hash

hash chain node for a record lock

Definition at line 77 of file lock0priv.h.

◆ index

dict_index_t* lock_struct::index

index for a record lock

Definition at line 79 of file lock0priv.h.

◆ rec_lock

lock_rec_t lock_struct::rec_lock

record lock

Definition at line 82 of file lock0priv.h.

◆ tab_lock

lock_table_t lock_struct::tab_lock

table lock

Definition at line 81 of file lock0priv.h.

◆ trx

trx_t* lock_struct::trx

transaction owning the lock

Definition at line 68 of file lock0priv.h.

◆ trx_locks

lock_struct::trx_locks

list of the locks of the transaction

Definition at line 71 of file lock0priv.h.

◆ type_mode

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.

◆ [union]

union { ... } lock_struct::un_member

lock details


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