#include "univ.i"
#include "dict0types.h"
#include "hash0hash.h"
#include "trx0types.h"
#include "ut0lst.h"
Go to the source code of this file.
Classes | |
struct | lock_table_struct |
struct | lock_rec_struct |
struct | lock_struct |
Typedefs | |
typedef struct lock_table_struct | lock_table_t |
typedef struct lock_rec_struct | lock_rec_t |
Functions | |
UNIV_INLINE ulint | lock_get_type_low (const lock_t *lock) |
UNIV_INTERN const lock_t * | lock_rec_get_prev (const lock_t *in_lock, ulint heap_no) |
Lock module internal structures and methods.
Created July 12, 2007 Vasil Dimov
Definition in file lock0priv.h.
typedef struct lock_rec_struct lock_rec_t |
Record lock for a page
Definition at line 55 of file lock0priv.h.
typedef struct lock_table_struct lock_table_t |
A table lock
Definition at line 44 of file lock0priv.h.
UNIV_INLINE ulint lock_get_type_low | ( | const lock_t * | lock | ) |
Gets the type of a lock.
Referenced by lock_cancel_waiting_and_release(), lock_get_mode_str(), lock_get_src_table(), lock_get_type(), lock_get_type_str(), lock_has_to_wait(), lock_is_table_exclusive(), lock_number_of_rows_locked(), lock_print_info_all_transactions(), lock_queue_iterator_get_prev(), lock_queue_iterator_reset(), lock_rec_get_index(), lock_rec_get_index_name(), lock_rec_get_page_no(), lock_rec_get_prev(), lock_rec_get_space_id(), lock_rec_print(), lock_release_off_kernel(), and lock_table_print().
Gets the previous record lock set on a record.
Gets the previous record lock set on a record.
in_lock | in: record lock |
heap_no | in: heap number of the record |
Definition at line 1314 of file lock0lock.cc.
References lock_get_type_low(), LOCK_REC, lock_rec_struct::page_no, lock_struct::rec_lock, lock_rec_struct::space, lock_struct::un_member, and ut_ad.
Referenced by lock_queue_iterator_get_prev().