Record lock ID.
More...
#include <lock0priv.h>
◆ RecID() [1/3]
Constructor.
- Parameters
-
[in] | lock | Record lock |
[in] | heap_no | Heap number in the page |
◆ RecID() [2/3]
RecID::RecID |
( |
page_id_t |
page_id, |
|
|
uint32_t |
heap_no |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | page_id | Tablespace ID and page number within space |
[in] | heap_no | Heap number in the page |
◆ RecID() [3/3]
Constructor.
- Parameters
-
[in] | block | Block in a tablespace |
[in] | heap_no | Heap number in the block |
◆ get_page_id()
const page_id_t & RecID::get_page_id |
( |
| ) |
const |
|
inline |
◆ hash_value()
uint64_t RecID::hash_value |
( |
| ) |
const |
|
inline |
- Returns
- the hashed value of {space, page_no}
◆ is_supremum()
bool RecID::is_supremum |
( |
| ) |
const |
|
inline |
- Returns
- true if it's the supremum record
◆ matches()
bool RecID::matches |
( |
const lock_t * |
lock | ) |
const |
|
inline |
◆ m_hash_value
uint64_t RecID::m_hash_value |
Hash generated from record's location which will be used to get lock queue for this record.
◆ m_heap_no
uint32_t RecID::m_heap_no |
Heap number within the page.
◆ m_page_id
Tablespace ID and page number within space
The documentation for this struct was generated from the following files: