MySQL 8.0.39
Source Code Documentation
|
Iterate over record locks matching <space, page_no, heap_no> More...
#include <lock0priv.h>
Static Public Member Functions | |
static lock_t * | advance (const RecID &rec_id, lock_t *lock) |
Gets the next record lock on a page. More... | |
static lock_t * | first (hash_cell_t *list, const RecID &rec_id) |
Gets the first explicit lock request on a record. More... | |
template<typename F > | |
static const lock_t * | for_each (const RecID &rec_id, F &&f, hash_table_t *hash_table=lock_sys->rec_hash) |
Iterate over all the locks on a specific row. More... | |
Iterate over record locks matching <space, page_no, heap_no>
Gets the next record lock on a page.
[in] | rec_id | The record ID |
[in] | lock | The current lock |
|
inlinestatic |
Gets the first explicit lock request on a record.
[in] | list | Record hash |
[in] | rec_id | Record ID |
|
inlinestatic |
Iterate over all the locks on a specific row.
[in] | rec_id | Iterate over locks on this row |
[in] | f | Function to call for each entry |
[in] | hash_table | The hash table to iterate over |