MySQL 9.1.0
Source Code Documentation
lock0lock.ic File Reference

The transaction lock system. More...

#include "btr0cur.h"
#include "buf0buf.h"
#include "dict0dict.h"
#include "log0recv.h"
#include "page0cur.h"
#include "page0page.h"
#include "que0que.h"
#include "read0read.h"
#include "row0row.h"
#include "row0vers.h"
#include "srv0srv.h"
#include "trx0sys.h"
#include "trx0trx.h"

Functions

static uint64_t lock_rec_hash_value (const page_id_t &page_id)
 
static ulint lock_get_min_heap_no (const buf_block_t *block)
 Gets the heap_no of the smallest user record on a page. More...
 
static Locks_hashtablelock_hash_get (ulint mode)
 Get the lock hash table. More...
 

Detailed Description

The transaction lock system.

Created 5/7/1996 Heikki Tuuri

Function Documentation

◆ lock_get_min_heap_no()

static ulint lock_get_min_heap_no ( const buf_block_t block)
inlinestatic

Gets the heap_no of the smallest user record on a page.

Returns
heap_no of smallest user record, or PAGE_HEAP_NO_SUPREMUM
Parameters
blockin: buffer block

◆ lock_hash_get()

static Locks_hashtable & lock_hash_get ( ulint  mode)
inlinestatic

Get the lock hash table.

Parameters
modein: lock mode

◆ lock_rec_hash_value()

static uint64_t lock_rec_hash_value ( const page_id_t page_id)
inlinestatic