MySQL 8.0.39
Source Code Documentation
|
Because it's not possible to disentangle the state of the parser from the THD, we have to destructively modify the current THD object in order to parse. More...
Public Member Functions | |
Thd_parse_modifier (THD *thd, uchar *token_buffer) | |
~Thd_parse_modifier () | |
Private Attributes | |
THD * | m_thd |
MEM_ROOT | m_mem_root |
Query_arena | m_arena |
LEX * | m_backed_up_lex |
LEX | m_lex |
sql_digest_state | m_digest_state |
Parser_state * | m_saved_parser_state |
sql_digest_state * | m_saved_digest |
const CHARSET_INFO * | m_cs |
Because it's not possible to disentangle the state of the parser from the THD, we have to destructively modify the current THD object in order to parse.
This class backs up and restores members that are modified in Item_func_statement_digest::val_str_ascii. It also sports its own Query_arena and LEX objects, which are used during parsing.
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |