MySQL 8.4.2
Source Code Documentation
Find_page Struct Reference

Find a page frame. More...

Public Member Functions

 Find_page (const void *ptr, ulint flags)
 Constructor. More...
 
bool operator() (mtr_memo_slot_t *slot)
 Visit a memo entry. More...
 
mtr_memo_slot_tget_slot () const
 
buf_block_tget_block () const
 

Private Attributes

const void *const m_ptr
 Pointer inside a page frame to look for. More...
 
const ulint m_flags
 MTR_MEMO flags to look for. More...
 
mtr_memo_slot_tm_slot
 The slot corresponding to m_ptr. More...
 

Detailed Description

Find a page frame.

Constructor & Destructor Documentation

◆ Find_page()

Find_page::Find_page ( const void *  ptr,
ulint  flags 
)
inline

Constructor.

Parameters
[in]ptrpointer to within a page frame
[in]flagsMTR_MEMO flags to look for

Member Function Documentation

◆ get_block()

buf_block_t * Find_page::get_block ( ) const
inline
Returns
the block that was found

◆ get_slot()

mtr_memo_slot_t * Find_page::get_slot ( ) const
inline
Returns
the slot that was found

◆ operator()()

bool Find_page::operator() ( mtr_memo_slot_t slot)
inline

Visit a memo entry.

Parameters
[in]slotmemo entry to visit
Return values
falseif a page was found
trueif the iteration should continue

Member Data Documentation

◆ m_flags

const ulint Find_page::m_flags
private

MTR_MEMO flags to look for.

◆ m_ptr

const void* const Find_page::m_ptr
private

Pointer inside a page frame to look for.

◆ m_slot

mtr_memo_slot_t* Find_page::m_slot
private

The slot corresponding to m_ptr.


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