MySQL 8.0.31
Source Code Documentation
dd::upgrade_57::Table_upgrade_guard Class Reference

RAII to handle cleanup after table upgrading. More...

Public Member Functions

void update_handler (handler *handler)
 
void update_lex (LEX *lex)
 
 Table_upgrade_guard (THD *thd, TABLE *table)
 
 ~Table_upgrade_guard ()
 

Private Attributes

THDm_thd
 
TABLEm_table
 
sql_mode_t m_sql_mode
 
handlerm_handler
 
bool m_is_table_open
 
LEXm_lex_saved
 
Itemm_item_list_saved
 

Detailed Description

RAII to handle cleanup after table upgrading.

Constructor & Destructor Documentation

◆ Table_upgrade_guard()

dd::upgrade_57::Table_upgrade_guard::Table_upgrade_guard ( THD thd,
TABLE table 
)
inline

◆ ~Table_upgrade_guard()

dd::upgrade_57::Table_upgrade_guard::~Table_upgrade_guard ( )
inline

Member Function Documentation

◆ update_handler()

void dd::upgrade_57::Table_upgrade_guard::update_handler ( handler handler)
inline

◆ update_lex()

void dd::upgrade_57::Table_upgrade_guard::update_lex ( LEX lex)
inline

Member Data Documentation

◆ m_handler

handler* dd::upgrade_57::Table_upgrade_guard::m_handler
private

◆ m_is_table_open

bool dd::upgrade_57::Table_upgrade_guard::m_is_table_open
private

◆ m_item_list_saved

Item* dd::upgrade_57::Table_upgrade_guard::m_item_list_saved
private

◆ m_lex_saved

LEX* dd::upgrade_57::Table_upgrade_guard::m_lex_saved
private

◆ m_sql_mode

sql_mode_t dd::upgrade_57::Table_upgrade_guard::m_sql_mode
private

◆ m_table

TABLE* dd::upgrade_57::Table_upgrade_guard::m_table
private

◆ m_thd

THD* dd::upgrade_57::Table_upgrade_guard::m_thd
private

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