MySQL 8.4.2
Source Code Documentation
|
RAII class to set query text to PFS. More...
Public Member Functions | |
PFS_query_text_handler_raii (THD *thd, std::string *new_query) | |
~PFS_query_text_handler_raii () | |
Private Attributes | |
THD * | m_thd {nullptr} |
LEX_CSTRING | m_saved_query_string |
String | m_saved_rewritten_query |
bool | m_saved_safe_to_display {false} |
RAII class to set query text to PFS.
Constructor sets new query text for PFS events. New query text is rewritten if needed before setting it for PFS events.
Destructor restores original query string for PFS events.
|
inline |
|
inline |
|
private |
|
private |
|
private |