MySQL 9.0.0
Source Code Documentation
Binlog_log_row_cleanup Class Reference

The purpose of an instance of this class is to : More...

Public Member Functions

 Binlog_log_row_cleanup (TABLE &table, MY_BITMAP &temp_read_bitmap, MY_BITMAP &temp_write_bitmap)
 This constructor aims to create temporary copies of readset and writeset. More...
 
virtual ~Binlog_log_row_cleanup ()
 This destructor aims to restore the original readset and writeset and delete the temporary copies. More...
 

Private Attributes

TABLEm_cleanup_table
 
MY_BITMAPm_cleanup_read_bitmap
 
MY_BITMAPm_cleanup_write_bitmap
 

Detailed Description

The purpose of an instance of this class is to :

1) Given a TABLE instance, backup the given TABLE::read_set, TABLE::write_set and restore those members upon this instance disposal.

2) Store a reference to a dynamically allocated buffer and dispose of it upon this instance disposal.

Constructor & Destructor Documentation

◆ Binlog_log_row_cleanup()

Binlog_log_row_cleanup::Binlog_log_row_cleanup ( TABLE table,
MY_BITMAP temp_read_bitmap,
MY_BITMAP temp_write_bitmap 
)
inline

This constructor aims to create temporary copies of readset and writeset.

Parameters
tableA pointer to TABLE object
temp_read_bitmapTemporary BITMAP to store read_set.
temp_write_bitmapTemporary BITMAP to store write_set.

◆ ~Binlog_log_row_cleanup()

virtual Binlog_log_row_cleanup::~Binlog_log_row_cleanup ( )
inlinevirtual

This destructor aims to restore the original readset and writeset and delete the temporary copies.

Member Data Documentation

◆ m_cleanup_read_bitmap

MY_BITMAP& Binlog_log_row_cleanup::m_cleanup_read_bitmap
private

◆ m_cleanup_table

TABLE& Binlog_log_row_cleanup::m_cleanup_table
private

◆ m_cleanup_write_bitmap

MY_BITMAP& Binlog_log_row_cleanup::m_cleanup_write_bitmap
private

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