![]() |
MySQL 26.7.0
Source Code Documentation
|
A filter which, if passed to for_each_block_in_reverse, calls the provided visitor only for the blocks which were modified by this mtr. More...
Public Member Functions | |
| Process_dirty_blocks (ut::Function_reference< void(buf_block_t *)> dirty_page_visitor) | |
| Constructor. More... | |
| bool | operator() (mtr_memo_slot_t *slot) const |
Public Attributes | |
| ut::Function_reference< void(buf_block_t *)> | m_dirty_page_visitor |
A filter which, if passed to for_each_block_in_reverse, calls the provided visitor only for the blocks which were modified by this mtr.
Note: the pages are considered to be modified if they were X or SX latched, or made_dirty_with_no_latch, so there could be false-positives. Note: as a side effect made_dirty_with_no_latch gets cleared.
|
inline |
Constructor.
| [in] | dirty_page_visitor | A callback to be called for each page dirtied by this mtr |
|
inline |
| ut::Function_reference<void(buf_block_t *)> Process_dirty_blocks::m_dirty_page_visitor |