MySQL 9.1.0
Source Code Documentation
Condition_context Class Reference

Utility RAII class to save/modify/restore the condition_context information of a query block. More...

#include <sql_lex.h>

Public Member Functions

 Condition_context (Query_block *select_ptr, enum_condition_context new_type=enum_condition_context::NEITHER)
 
 ~Condition_context ()
 

Private Attributes

Query_blockselect
 
enum_condition_context saved_value
 

Detailed Description

Utility RAII class to save/modify/restore the condition_context information of a query block.

See also
enum_condition_context.

Constructor & Destructor Documentation

◆ Condition_context()

Condition_context::Condition_context ( Query_block select_ptr,
enum_condition_context  new_type = enum_condition_context::NEITHER 
)
inline

◆ ~Condition_context()

Condition_context::~Condition_context ( )
inline

Member Data Documentation

◆ saved_value

enum_condition_context Condition_context::saved_value
private

◆ select

Query_block* Condition_context::select
private

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