InnoDB Plugin
1.0
|
#include "sync0sync.h"
#include "srv0srv.h"
#include "dict0dict.h"
#include "row0row.h"
#include "trx0sys.h"
#include "trx0trx.h"
#include "buf0buf.h"
#include "page0page.h"
#include "page0cur.h"
#include "row0vers.h"
#include "que0que.h"
#include "btr0cur.h"
#include "read0read.h"
#include "log0recv.h"
Functions | |
UNIV_INLINE ulint | lock_rec_fold (ulint space, ulint page_no) |
UNIV_INLINE ulint | lock_rec_hash (ulint space, ulint page_no) |
UNIV_INLINE ulint | lock_get_min_heap_no (const buf_block_t *block) |
The transaction lock system
Created 5/7/1996 Heikki Tuuri
UNIV_INLINE ulint lock_get_min_heap_no | ( | const buf_block_t * | block | ) |
Gets the heap_no of the smallest user record on a page.
block | in: buffer block |
UNIV_INLINE ulint lock_rec_fold | ( | ulint | space, |
ulint | page_no | ||
) |
Calculates the fold value of a page file address: used in inserting or searching for a lock in the hash table.
space | in: space |
page_no | in: page number |
UNIV_INLINE ulint lock_rec_hash | ( | ulint | space, |
ulint | page_no | ||
) |
Calculates the hash value of a page file address: used in inserting or searching for a lock in the hash table.
space | in: space |
page_no | in: page number |