25#ifndef ROUTING_SQL_LEXER_THD_INCLUDED
26#define ROUTING_SQL_LEXER_THD_INCLUDED
41 const char * ,
size_t ,
Internal state of the parser.
Definition: sql_lexer_parser_state.h:43
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
void * alloc(size_t size)
Definition: sql_lexer_thd.h:47
Parser_state * m_parser_state
Internal parser state.
Definition: sql_lexer_thd.h:63
System_variables variables
Definition: sql_lexer_thd.h:61
bool convert_string(LEX_STRING *, const CHARSET_INFO *, const char *, size_t, const CHARSET_INFO *, bool=false)
Definition: sql_lexer_thd.h:40
const CHARSET_INFO * charset() const
Definition: sql_lexer_thd.h:39
char * strmake(const char *str, size_t size) const
Definition: sql_lexer_thd.h:49
MEM_ROOT * mem_root
Definition: sql_lexer_thd.h:37
ulonglong sql_mode_t
Definition: sql_lexer_thd.h:35
char * strmake_root(MEM_ROOT *root, const char *str, size_t len)
Definition: my_alloc.cc:285
A better implementation of the UNIX ctype(3) library.
MYSQL_STRINGS_EXPORT CHARSET_INFO my_charset_utf8mb4_0900_ai_ci
Definition: ctype-uca.cc:9610
MYSQL_STRINGS_EXPORT CHARSET_INFO my_charset_latin1
Definition: ctype-latin1.cc:365
This file follows Google coding style, except for the name MEM_ROOT (which is kept for historical rea...
unsigned long long int ulonglong
Definition: my_inttypes.h:55
Common header for many mysys elements.
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1063
Definition: m_ctype.h:422
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:82
void * Alloc(size_t length)
Allocate memory.
Definition: my_alloc.h:144
Definition: mysql_lex_string.h:34
Definition: sql_lexer_thd.h:54
sql_mode_t sql_mode
Definition: sql_lexer_thd.h:55
const CHARSET_INFO * character_set_client
Definition: sql_lexer_thd.h:56
const CHARSET_INFO * default_collation_for_utf8mb4
Definition: sql_lexer_thd.h:57