|
enum | enum_keep_diagnostics {
DA_KEEP_NOTHING = 0
, DA_KEEP_DIAGNOSTICS
, DA_KEEP_COUNTS
, DA_KEEP_PARSE_ERROR
,
DA_KEEP_UNSPECIFIED
} |
|
enum | enum_sp_suid_behaviour { SP_IS_DEFAULT_SUID = 0
, SP_IS_NOT_SUID
, SP_IS_SUID
} |
|
enum | enum_sp_data_access {
SP_DEFAULT_ACCESS = 0
, SP_CONTAINS_SQL
, SP_NO_SQL
, SP_READS_SQL_DATA
,
SP_MODIFIES_SQL_DATA
} |
|
enum class | enum_sp_type {
enum_sp_type::FUNCTION = 1
, enum_sp_type::PROCEDURE
, enum_sp_type::TRIGGER
, enum_sp_type::EVENT
,
enum_sp_type::LIBRARY
, enum_sp_type::INVALID_SP_TYPE
} |
| enum_sp_type defines type codes of stored programs. More...
|
|
enum class | Acl_type {
Acl_type::TABLE = 0
, Acl_type::FUNCTION = TYPE_ENUM_FUNCTION
, Acl_type::PROCEDURE = TYPE_ENUM_PROCEDURE
, Acl_type::LIBRARY = TYPE_ENUM_LIBRARY
,
Acl_type::INVALID_TYPE = TYPE_ENUM_INVALID
} |
|
enum class | enum_view_create_mode { enum_view_create_mode::VIEW_CREATE_NEW
, enum_view_create_mode::VIEW_ALTER
, enum_view_create_mode::VIEW_CREATE_OR_REPLACE
} |
|
enum class | enum_alter_user_attribute { enum_alter_user_attribute::ALTER_USER_COMMENT_NOT_USED
, enum_alter_user_attribute::ALTER_USER_COMMENT
, enum_alter_user_attribute::ALTER_USER_ATTRIBUTE
} |
|
enum | sub_select_type { UNSPECIFIED_TYPE
, GLOBAL_OPTIONS_TYPE
, DERIVED_TABLE_TYPE
} |
|
enum class | enum_explain_type {
enum_explain_type::EXPLAIN_NONE = 0
, enum_explain_type::EXPLAIN_PRIMARY
, enum_explain_type::EXPLAIN_SIMPLE
, enum_explain_type::EXPLAIN_DERIVED
,
enum_explain_type::EXPLAIN_SUBQUERY
, enum_explain_type::EXPLAIN_UNION
, enum_explain_type::EXPLAIN_INTERSECT
, enum_explain_type::EXPLAIN_EXCEPT
,
enum_explain_type::EXPLAIN_UNION_RESULT
, enum_explain_type::EXPLAIN_INTERSECT_RESULT
, enum_explain_type::EXPLAIN_EXCEPT_RESULT
, enum_explain_type::EXPLAIN_UNARY_RESULT
,
enum_explain_type::EXPLAIN_MATERIALIZED
, enum_explain_type::EXPLAIN_total
} |
| Query_block type enum. More...
|
|
enum | enum_comment_state {
NO_COMMENT
, PRESERVE_COMMENT
, DISCARD_COMMENT
, NO_COMMENT
,
PRESERVE_COMMENT
, DISCARD_COMMENT
} |
| The state of the lexical parser, when parsing comments. More...
|
|
enum | execute_only_in_secondary_reasons {
SUPPORTED_IN_PRIMARY
, CUBE
, TABLESAMPLE
, OUTFILE_OBJECT_STORE
,
TEMPORARY_TABLE_CREATION
, TEMPORARY_TABLE_USAGE
} |
|
enum | execute_only_in_hypergraph_reasons { SUPPORTED_IN_BOTH_OPTIMIZERS
, QUALIFY_CLAUSE
} |
|
|
void | binlog_unsafe_map_init () |
|
enum_sp_type | to_sp_type (longlong val) |
|
longlong | to_longlong (enum_sp_type val) |
|
uint | to_uint (enum_sp_type val) |
|
Acl_type | lex_type_to_acl_type (ulong lex_type) |
|
enum_sp_type | acl_type_to_enum_sp_type (Acl_type type) |
|
Acl_type | enum_sp_type_to_acl_type (enum_sp_type type) |
|
bool | walk_join_list (mem_root_deque< Table_ref * > &list, std::function< bool(Table_ref *)> action) |
|
void | lex_free (void) |
|
bool | lex_start (THD *thd) |
| Call lex_start() before every query that is to be prepared and executed. More...
|
|
void | lex_end (LEX *lex) |
| Call this function after preparation and execution of a query. More...
|
|
int | my_sql_parser_lex (MY_SQL_PARSER_STYPE *, POS *, class THD *) |
| yylex() function implementation for the main parser More...
|
|
void | trim_whitespace (const CHARSET_INFO *cs, LEX_STRING *str) |
|
bool | is_lex_native_function (const LEX_STRING *name) |
| Check if name is a sql function. More...
|
|
bool | is_keyword (const char *name, size_t len) |
|
bool | db_is_default_db (const char *db, size_t db_len, const THD *thd) |
|
bool | check_select_for_locking_clause (THD *) |
|
void | print_derived_column_names (const THD *thd, String *str, const Create_col_name_list *column_names) |
| Prints into 'str' a comma-separated list of column names, enclosed in parenthesis. More...
|
|
bool | is_invalid_string (const LEX_CSTRING &string_val, const CHARSET_INFO *charset_info) |
| (End of group GROUP_PARSER) More...
|
|
bool | is_invalid_string (const LEX_CSTRING &string_val, const CHARSET_INFO *charset_info, std::string &invalid_sub_str) |
| Check if the given string is invalid using the system charset. More...
|
|
void | assert_consistent_hidden_flags (const mem_root_deque< Item * > &fields, Item *item, bool hidden) |
| In debug mode, verify that we're not adding an item twice to the fields list with inconsistent hidden flags. More...
|
|
bool | walk_item (Item *item, Select_lex_visitor *visitor) |
|
bool | accept_for_order (SQL_I_List< ORDER > orders, Select_lex_visitor *visitor) |
|
bool | accept_table (Table_ref *t, Select_lex_visitor *visitor) |
|
bool | accept_for_join (mem_root_deque< Table_ref * > *tables, Select_lex_visitor *visitor) |
|
Table_ref * | nest_join (THD *thd, Query_block *select, Table_ref *embedding, mem_root_deque< Table_ref * > *jlist, size_t table_cnt, const char *legend) |
| Plumbing for nest_last_join, q.v. More...
|
|
void | get_select_options_str (ulonglong options, std::string *str) |
|
template<typename T > |
bool | WalkQueryExpression (Query_expression *query_expr, enum_walk walk, T &&functor) |
|