MySQL 8.4.2
Source Code Documentation
|
Iterate over a transaction's locks. More...
Public Member Functions | |
TrxLockIterator () | |
const lock_t * | current (const trx_t *trx) const |
Get the m_index(th) lock of a transaction. More... | |
void | rewind () |
Set the ordinal value to 0. More... | |
ulint | next () |
Increment the ordinal value. More... | |
Private Attributes | |
ulint | m_index |
Current iterator position. More... | |
Iterate over a transaction's locks.
Keeping track of the iterator using an ordinal value.
|
inline |
Get the m_index(th) lock of a transaction.
|
inline |
Increment the ordinal value.
|
inline |
Set the ordinal value to 0.
|
private |
Current iterator position.