MySQL 9.0.0
Source Code Documentation
Statement_backup Class Reference

Public Member Functions

LEXlex () const
 
void set_thd_to_ps (THD *thd, Prepared_statement *stmt)
 Prepared the THD to execute the prepared statement. More...
 
void restore_thd (THD *thd, Prepared_statement *stmt)
 Restore the THD statement state after the prepared statement has finished executing. More...
 
void save_rlb (THD *thd)
 Save the current rewritten query prior to rewriting the prepared statement. More...
 
void restore_rlb (THD *thd)
 Restore the rewritten query after the prepared statement has finished executing. More...
 

Private Attributes

LEXm_lex
 
LEX_CSTRING m_query_string
 
String m_rewritten_query
 
bool m_safe_to_display
 

Member Function Documentation

◆ lex()

LEX * Statement_backup::lex ( ) const
inline

◆ restore_rlb()

void Statement_backup::restore_rlb ( THD thd)
inline

Restore the rewritten query after the prepared statement has finished executing.

◆ restore_thd()

void Statement_backup::restore_thd ( THD thd,
Prepared_statement stmt 
)
inline

Restore the THD statement state after the prepared statement has finished executing.

◆ save_rlb()

void Statement_backup::save_rlb ( THD thd)
inline

Save the current rewritten query prior to rewriting the prepared statement.

◆ set_thd_to_ps()

void Statement_backup::set_thd_to_ps ( THD thd,
Prepared_statement stmt 
)
inline

Prepared the THD to execute the prepared statement.

Save the current THD statement state.

Member Data Documentation

◆ m_lex

LEX* Statement_backup::m_lex
private

◆ m_query_string

LEX_CSTRING Statement_backup::m_query_string
private

◆ m_rewritten_query

String Statement_backup::m_rewritten_query
private

◆ m_safe_to_display

bool Statement_backup::m_safe_to_display
private

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