MySQL 26.7.0
Source Code Documentation
ib::redo::Redo_applier Class Referencefinal

This class allows to parse and apply redo records. More...

#include <log0redo.h>

Classes

class  Impl
 

Public Member Functions

 Redo_applier ()
 
 ~Redo_applier ()
 
Parse_result< Mtr_viewparse_mtr (std::span< const uint8_t > buffer)
 Parse an mtr from a buffer. More...
 
bool apply (const Record_handle &record_handle, Page_handle &page_handle)
 Apply a parsed redo record to a page. More...
 

Private Attributes

std::unique_ptr< Implm_impl
 

Detailed Description

This class allows to parse and apply redo records.

Constructor & Destructor Documentation

◆ Redo_applier()

ib::redo::Redo_applier::Redo_applier ( )

◆ ~Redo_applier()

ib::redo::Redo_applier::~Redo_applier ( )
default

Member Function Documentation

◆ apply()

bool ib::redo::Redo_applier::apply ( const Record_handle record_handle,
Page_handle page_handle 
)

Apply a parsed redo record to a page.

Parameters
record_handlerecord to apply
page_handlePage handle to apply the record to
Returns
True on success, false on error. In case of error page may contain garbage.

◆ parse_mtr()

Parse_result< Mtr_view > ib::redo::Redo_applier::parse_mtr ( std::span< const uint8_t >  buffer)

Parse an mtr from a buffer.

Parameters
bufferbuffer to parse
Returns
Parsed mtr or error.

Member Data Documentation

◆ m_impl

std::unique_ptr<Impl> ib::redo::Redo_applier::m_impl
private

The documentation for this class was generated from the following files: