MySQL 9.1.0
Source Code Documentation
|
Record lock for a page. More...
#include <lock0priv.h>
Public Member Functions | |
std::ostream & | print (std::ostream &out) const |
Print the record lock into the given output stream. More... | |
Public Attributes | |
page_id_t | page_id |
The id of the page on which records referenced by this lock's bitmap are located. More... | |
uint32_t | n_bits |
number of bits in the lock bitmap; Must be divisible by 8. More... | |
Record lock for a page.
|
inline |
Print the record lock into the given output stream.
[in,out] | out | the output stream |
uint32_t lock_rec_t::n_bits |
number of bits in the lock bitmap; Must be divisible by 8.
NOTE: the lock bitmap is placed immediately after the lock struct
page_id_t lock_rec_t::page_id |
The id of the page on which records referenced by this lock's bitmap are located.