MySQL 8.4.3
Source Code Documentation
Disable_slave_info_update_guard Class Reference

RAII class to control the atomic DDL commit on slave. More...

Public Member Functions

 Disable_slave_info_update_guard (THD *thd)
 
 ~Disable_slave_info_update_guard ()
 

Private Attributes

Relay_log_infom_rli
 
bool m_flag
 

Detailed Description

RAII class to control the atomic DDL commit on slave.

A slave context flag responsible to mark the DDL as committed is raised and kept for the entirety of DDL commit block. While DDL commits the slave info table won't take part in its transaction.

Constructor & Destructor Documentation

◆ Disable_slave_info_update_guard()

Disable_slave_info_update_guard::Disable_slave_info_update_guard ( THD thd)
inline

◆ ~Disable_slave_info_update_guard()

Disable_slave_info_update_guard::~Disable_slave_info_update_guard ( )
inline

Member Data Documentation

◆ m_flag

bool Disable_slave_info_update_guard::m_flag
private

◆ m_rli

Relay_log_info* Disable_slave_info_update_guard::m_rli
private

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