39#define lock_t ib_lock_t
80 return (
"LOCK_AUTO_INC");
84 return (
"LOCK_NONE_UNSET");
uint32_t trx_schedule_weight_t
Definition: lock0types.h:91
const char * lock_mode_string(enum lock_mode mode)
Convert the given enum value into string.
Definition: lock0types.h:69
typedef UT_LIST_BASE_NODE_T_EXTERN(lock_t, trx_locks) trx_lock_list_t
select_mode
Definition: lock0types.h:47
@ SELECT_SKIP_LOCKED
Definition: lock0types.h:49
@ SELECT_NOWAIT
Definition: lock0types.h:50
@ SELECT_ORDINARY
Definition: lock0types.h:48
lock_mode
Definition: lock0types.h:54
@ LOCK_NONE
Definition: lock0types.h:61
@ LOCK_IX
Definition: lock0types.h:56
@ LOCK_AUTO_INC
Definition: lock0types.h:59
@ LOCK_IS
Definition: lock0types.h:55
@ LOCK_S
Definition: lock0types.h:57
@ LOCK_NONE_UNSET
Definition: lock0types.h:63
@ LOCK_X
Definition: lock0types.h:58
@ LOCK_NUM
Definition: lock0types.h:62
Provides atomic access in shared-exclusive modes.
Definition: shared_spin_lock.h:79
mode
Definition: file_handle.h:61
Used to represent locks requests uniquely over time.
Definition: lock0types.h:106
bool operator==(const lock_guid_t &rhs) const
Checks if two guids represent the same lock (conceptually): they represent the same lock_t struct in ...
Definition: lock0types.h:131
uint64_t m_immutable_id
Id of the lock_t struct such that it does not change over time, and two different lock_t structs neve...
Definition: lock0types.h:116
lock_guid_t()=default
Initializes the lock_guid_t object to a value which doesn't match any real lock.
trx_guid_t m_trx_guid
The guid of lock->trx.
Definition: lock0types.h:109
bool operator!=(const lock_guid_t &rhs) const
Checks if two guids represent two different locks (conceptually): they represent two different lock_t...
Definition: lock0types.h:140
The lock system struct.
Definition: lock0lock.h:1059
Lock struct; protected by lock_sys latches.
Definition: lock0priv.h:137
A table lock.
Definition: lock0priv.h:54
Used to identify trx uniquely over time.
Definition: trx0types.h:177
Transaction system global type definitions.
Version control for database, common definitions, and include files.
#define ut_error
Abort execution.
Definition: ut0dbg.h:101