MySQL 8.0.40
Source Code Documentation
Change_current_query_block Class Reference

RAII class to automate saving/restoring of current_query_block() More...

Public Member Functions

 Change_current_query_block (THD *thd_arg)
 
void restore ()
 
 ~Change_current_query_block ()
 

Private Attributes

THDthd
 
Query_blocksaved_query_block
 

Detailed Description

RAII class to automate saving/restoring of current_query_block()

Constructor & Destructor Documentation

◆ Change_current_query_block()

Change_current_query_block::Change_current_query_block ( THD thd_arg)
inline

◆ ~Change_current_query_block()

Change_current_query_block::~Change_current_query_block ( )
inline

Member Function Documentation

◆ restore()

void Change_current_query_block::restore ( )
inline

Member Data Documentation

◆ saved_query_block

Query_block* Change_current_query_block::saved_query_block
private

◆ thd

THD* Change_current_query_block::thd
private

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