MySQL 8.4.2
Source Code Documentation
Add_dirty_blocks_to_flush_list Struct Reference

Add blocks modified by the mini-transaction to the flush list. More...

Public Member Functions

 Add_dirty_blocks_to_flush_list (lsn_t start_lsn, lsn_t end_lsn, Flush_observer *observer)
 Constructor. More...
 
void add_dirty_page_to_flush_list (mtr_memo_slot_t *slot) const
 Add the modified page to the buffer flush list. More...
 
bool operator() (mtr_memo_slot_t *slot) const
 

Public Attributes

const lsn_t m_end_lsn
 Mini-transaction REDO end LSN. More...
 
const lsn_t m_start_lsn
 Mini-transaction REDO start LSN. More...
 
Flush_observer *const m_flush_observer
 Flush observer. More...
 

Detailed Description

Add blocks modified by the mini-transaction to the flush list.

Constructor & Destructor Documentation

◆ Add_dirty_blocks_to_flush_list()

Add_dirty_blocks_to_flush_list::Add_dirty_blocks_to_flush_list ( lsn_t  start_lsn,
lsn_t  end_lsn,
Flush_observer observer 
)

Constructor.

Parameters
[in]start_lsnLSN of the first entry that was added to REDO by the MTR
[in]end_lsnLSN after the last entry was added to REDO by the MTR
[in,out]observerflush observer

Member Function Documentation

◆ add_dirty_page_to_flush_list()

void Add_dirty_blocks_to_flush_list::add_dirty_page_to_flush_list ( mtr_memo_slot_t slot) const
inline

Add the modified page to the buffer flush list.

◆ operator()()

bool Add_dirty_blocks_to_flush_list::operator() ( mtr_memo_slot_t slot) const
inline
Returns
true always.

Member Data Documentation

◆ m_end_lsn

const lsn_t Add_dirty_blocks_to_flush_list::m_end_lsn

Mini-transaction REDO end LSN.

◆ m_flush_observer

Flush_observer* const Add_dirty_blocks_to_flush_list::m_flush_observer

Flush observer.

◆ m_start_lsn

const lsn_t Add_dirty_blocks_to_flush_list::m_start_lsn

Mini-transaction REDO start LSN.


The documentation for this struct was generated from the following file: