MySQL 8.3.0
Source Code Documentation
Save_and_Restore_binlog_format_state Class Reference

RAII class which allows to save, clear and store binlog format state There are two variables in THD class that will decide the binlog format of a statement i) THD::current_stmt_binlog_format ii) THD::variables.binlog_format Saving or Clearing or Storing of binlog format state should be done for these two variables together all the time. More...

#include <thd_raii.h>

Public Member Functions

 Save_and_Restore_binlog_format_state (THD *thd)
 
 ~Save_and_Restore_binlog_format_state ()
 

Private Attributes

THDm_thd
 
ulong m_global_binlog_format
 
enum_binlog_format m_current_stmt_binlog_format
 

Detailed Description

RAII class which allows to save, clear and store binlog format state There are two variables in THD class that will decide the binlog format of a statement i) THD::current_stmt_binlog_format ii) THD::variables.binlog_format Saving or Clearing or Storing of binlog format state should be done for these two variables together all the time.

Constructor & Destructor Documentation

◆ Save_and_Restore_binlog_format_state()

Save_and_Restore_binlog_format_state::Save_and_Restore_binlog_format_state ( THD thd)
inlineexplicit

◆ ~Save_and_Restore_binlog_format_state()

Save_and_Restore_binlog_format_state::~Save_and_Restore_binlog_format_state ( )
inline

Member Data Documentation

◆ m_current_stmt_binlog_format

enum_binlog_format Save_and_Restore_binlog_format_state::m_current_stmt_binlog_format
private

◆ m_global_binlog_format

ulong Save_and_Restore_binlog_format_state::m_global_binlog_format
private

◆ m_thd

THD* Save_and_Restore_binlog_format_state::m_thd
private

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