MySQL 8.4.2
Source Code Documentation
lob::undo_seq_t Struct Reference

Container to hold a sequence of undo log records containing modification of BLOBs. More...

#include <lob0undo.h>

Public Member Functions

 undo_seq_t (ulint field_no)
 Constructor. More...
 
void apply (dict_index_t *index, byte *lob, size_t len, size_t lob_version, page_no_t first_page_no)
 Apply the undo log records on the given LOB in memory. More...
 
ulint get_field_no () const
 Get the field number of BLOB. More...
 
void push_back (undo_data_t &u1)
 Append the given undo log record to the end of container. More...
 
void destroy ()
 Destroy the contents of this undo sequence list. More...
 
bool exists () const
 Check if any undo log exists to apply. More...
 

Public Attributes

ulint m_field_no
 

Private Attributes

std::list< undo_data_t > * m_undo_list = nullptr
 

Detailed Description

Container to hold a sequence of undo log records containing modification of BLOBs.

Constructor & Destructor Documentation

◆ undo_seq_t()

lob::undo_seq_t::undo_seq_t ( ulint  field_no)
inline

Constructor.

Parameters
[in]field_nothe field number of LOB.

Member Function Documentation

◆ apply()

void lob::undo_seq_t::apply ( dict_index_t index,
byte lob,
size_t  len,
size_t  lob_version,
page_no_t  first_page_no 
)
inline

Apply the undo log records on the given LOB in memory.

Parameters
[in]indexthe clustered index to which LOB belongs.
[in]lobthe BLOB in memory.
[in]lenthe length of BLOB in memory.
[in]lob_versionthe LOB version number.
[in]first_page_nothe first page number of BLOB.

◆ destroy()

void lob::undo_seq_t::destroy ( )
inline

Destroy the contents of this undo sequence list.

◆ exists()

bool lob::undo_seq_t::exists ( ) const
inline

Check if any undo log exists to apply.

◆ get_field_no()

ulint lob::undo_seq_t::get_field_no ( ) const
inline

Get the field number of BLOB.

Returns
the field number of BLOB.

◆ push_back()

void lob::undo_seq_t::push_back ( undo_data_t u1)
inline

Append the given undo log record to the end of container.

Parameters
[in]u1the undo log record information.

Member Data Documentation

◆ m_field_no

ulint lob::undo_seq_t::m_field_no

◆ m_undo_list

std::list<undo_data_t>* lob::undo_seq_t::m_undo_list = nullptr
private

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