absorb_limit_of(Query_block *block) | Query_block | |
accept(Select_lex_visitor *visitor) | Query_block | |
active_options() const | Query_block | inline |
add_active_options(ulonglong options) | Query_block | inline |
add_base_options(ulonglong options) | Query_block | inline |
add_ftfunc_list(List< Item_func_match > *ftfuncs) | Query_block | |
add_ftfunc_to_list(Item_func_match *func) | Query_block | |
add_hidden_item(Item *item) | Query_block | |
add_item_to_list(Item *item) | Query_block | |
add_joined_table(Table_ref *table) | Query_block | |
add_table_to_list(THD *thd, Table_ident *table, const char *alias, ulong table_options, thr_lock_type flags=TL_UNLOCK, enum_mdl_type mdl_type=MDL_SHARED_READ, List< Index_hint > *hints=nullptr, List< String > *partition_names=nullptr, LEX_STRING *option=nullptr, Parse_context *pc=nullptr) | Query_block | |
add_tables(THD *thd, const Mem_root_array< Table_ident * > *tables, ulong table_options, thr_lock_type lock_type, enum_mdl_type mdl_type) | Query_block | |
agg_func_used() const | Query_block | inline |
all_tables_map() const | Query_block | inline |
allow_merge_derived | Query_block | private |
apply_local_transforms(THD *thd, bool prune) | Query_block | |
base_ref_items | Query_block | |
between_count | Query_block | |
build_sj_cond(THD *thd, NESTED_JOIN *nested_join, Query_block *subq_query_block, table_map outer_tables_map, Item **sj_cond) | Query_block | private |
can_skip_distinct() const | Query_block | inline |
change_query_result(THD *thd, Query_result_interceptor *new_result, Query_result_interceptor *old_result) | Query_block | |
check_column_privileges(THD *thd) | Query_block | |
check_only_full_group_by(THD *thd) | Query_block | private |
check_privileges_for_subqueries(THD *thd) | Query_block | |
check_view_privileges(THD *thd, Access_bitmask want_privilege_first, Access_bitmask want_privilege_next) | Query_block | |
child_count() const | Query_term | inlinevirtual |
cleanup(bool full) override | Query_block | virtual |
cleanup_all_joins() | Query_block | |
cleanup_query_result(bool full) | Query_term | |
clear_sj_expressions(NESTED_JOIN *nested_join) | Query_block | private |
clone_expression(THD *thd, Item *item, Table_ref *derived_table) | Query_block | |
cond_count | Query_block | |
cond_value | Query_block | |
condition_context | Query_block | |
Condition_context | Query_block | friend |
context | Query_block | |
convert_subquery_to_semijoin(THD *thd, Item_exists_subselect *subq_pred) | Query_block | private |
cut_subtree() | Query_block | inline |
db | Query_block | |
debugPrint(int level, std::ostringstream &buf) const override | Query_block | virtual |
decorrelate_condition(Semijoin_decorrelation &sj_decor, Table_ref *join_nest) | Query_block | private |
decorrelate_derived_scalar_subquery_post(THD *thd, Table_ref *derived, Lifted_fields_map *lifted_where_fields, bool added_card_check) | Query_block | private |
decorrelate_derived_scalar_subquery_pre(THD *thd, Table_ref *derived, Item *lifted_where, Lifted_fields_map *lifted_where_fields, bool *added_card_check) | Query_block | private |
delete_unused_merged_columns(mem_root_deque< Table_ref * > *tables) | Query_block | private |
derived_table_count | Query_block | |
destroy() | Query_block | |
destroy_tree() override | Query_block | inlinevirtual |
embedding | Query_block | |
empty_order_list(Query_block *sl) | Query_block | private |
end_lateral_table | Query_block | |
end_nested_join() | Query_block | |
exclude_from_table_unique_test | Query_block | |
field_list_is_empty() const | Query_block | |
fields | Query_block | |
find_common_table_expr(THD *thd, Table_ident *table_id, Table_ref *tl, Parse_context *pc, bool *found) | Query_block | private |
find_in_group_list(Item *item, int *rollup_level) const | Query_block | |
find_table_by_name(const Table_ident *ident) | Query_block | |
first_context | Query_block | |
first_execution | Query_block | |
first_inner_query_expression() const | Query_block | inline |
fix_after_pullout(Query_block *parent_query_block, Query_block *removed_query_block) | Query_block | private |
flatten_subqueries(THD *thd) | Query_block | |
ftfunc_list | Query_block | |
ftfunc_list_alloc | Query_block | |
get_derived_expr(uint expr_index) | Query_block | |
get_fields_list() | Query_block | inline |
get_in_sum_expr() const | Query_block | inline |
get_limit(const THD *thd) const | Query_block | |
get_offset(const THD *thd) const | Query_block | |
get_optimizable_conditions(THD *thd, Item **new_where, Item **new_having) | Query_block | |
get_table_list() const | Query_block | inline |
get_type_str() | Query_block | inline |
get_type_str(enum_explain_type type) | Query_block | inlinestatic |
group_fix_field | Query_block | |
group_list | Query_block | |
group_list_ptrs | Query_block | |
group_list_size() const | Query_block | |
has_aj_nests | Query_block | private |
has_ft_funcs() const | Query_block | inline |
has_limit() const | Query_block | inline |
has_sj_candidates() const | Query_block | inline |
has_sj_nests | Query_block | private |
has_tables() const | Query_block | inline |
has_windows() const | Query_block | inline |
having_cond() const | Query_block | inline |
having_cond_ref() | Query_block | inline |
having_fix_field | Query_block | |
having_value | Query_block | |
hidden_group_field_count | Query_block | private |
hidden_items_from_optimization | Query_block | |
hidden_order_field_count | Query_block | private |
in_sum_expr | Query_block | |
include_chain_in_global(Query_block **start) | Query_block | |
include_down(LEX *lex, Query_expression *outer) | Query_block | |
include_in_global(Query_block **plink) | Query_block | |
include_neighbour(LEX *lex, Query_block *before) | Query_block | |
include_standalone(Query_expression *sel) | Query_block | |
indent(int level, std::ostringstream &buf) | Query_term | static |
init_nested_join(THD *thd) | Query_block | |
init_order() | Query_block | inline |
inner_sum_func_list | Query_block | |
invalidate() | Query_block | |
is_cacheable() const | Query_block | inline |
is_dependent() const | Query_block | inline |
is_distinct() const | Query_block | inline |
is_empty_query() const | Query_block | inline |
is_explicitly_grouped() const | Query_block | inline |
is_grouped() const | Query_block | inline |
is_implicitly_grouped() const | Query_block | inline |
is_item_list_lookup | Query_block | |
is_ordered() const | Query_block | inline |
is_recursive() const | Query_block | inline |
is_row_count_valid_for_semi_join() | Query_block | private |
is_simple_query_block() const | Query_block | inline |
is_table_value_constructor | Query_block | |
join | Query_block | |
json_agg_func_used() const | Query_block | inline |
label_children() override | Query_block | inlinevirtual |
leaf_table_count | Query_block | |
leaf_tables | Query_block | |
lift_fulltext_from_having_to_select_list(THD *thd) | Query_block | private |
link_next | Query_block | private |
link_prev | Query_block | private |
linkage | Query_block | |
m_active_options | Query_block | private |
m_added_non_hidden_fields | Query_block | |
m_agg_func_used | Query_block | private |
m_base_options | Query_block | private |
m_current_table_nest | Query_block | |
m_empty_query | Query_block | private |
m_fields | Query_term | protected |
m_having_cond | Query_block | private |
m_internal_limit | Query_block | |
m_json_agg_func_used | Query_block | private |
m_owning_operand | Query_term | protected |
m_parent | Query_term | protected |
m_query_result | Query_block | private |
m_result_table | Query_term | protected |
m_right_joins | Query_block | private |
m_saved_base_items | Query_block | private |
m_setop_query_result | Query_term | protected |
m_sibling_idx | Query_term | protected |
m_table_list | Query_block | |
m_table_nest | Query_block | |
m_use_select_limit | Query_block | |
m_was_implicitly_grouped | Query_block | |
m_where_cond | Query_block | private |
m_windows | Query_block | |
make_active_options(ulonglong added_options, ulonglong removed_options) | Query_block | |
mark_as_dependent(Query_block *last, bool aggregate) | Query_block | |
mark_item_as_maybe_null_if_rollup_item(Item *item) | Query_block | private |
master | Query_block | private |
master_query_expression() const | Query_block | inline |
materialized_derived_table_count | Query_block | |
max_equal_elems | Query_block | |
merge_contexts(Query_block *inner) | Query_block | |
merge_derived(THD *thd, Table_ref *derived_table) | Query_block | |
n_child_sum_items | Query_block | |
n_scalar_subqueries | Query_block | |
n_sum_items | Query_block | |
nest_derived(THD *thd, Item *join_cond, mem_root_deque< Table_ref * > *join_list, Table_ref *new_derived_table) | Query_block | private |
nest_last_join(THD *thd, size_t table_cnt=2) | Query_block | |
nest_level | Query_block | |
next | Query_block | private |
next_query_block() const | Query_block | inline |
next_select_in_list() const | Query_block | inline |
no_table_names_allowed | Query_block | |
num_visible_fields() const | Query_block | |
offset_limit | Query_block | |
olap | Query_block | |
open_result_tables(THD *, int) override | Query_block | virtual |
operator_string() const override | Query_block | inlinevirtual |
opt_hints_qb | Query_block | |
optimize(THD *thd, bool finalize_access_paths) | Query_block | |
order_list | Query_block | |
order_list_ptrs | Query_block | |
outer_join | Query_block | |
outer_query_block() const | Query_block | inline |
owning_operand() | Query_term | inline |
parent() const | Query_term | inline |
parent_lex | Query_block | |
parsing_place | Query_block | |
partitioned_table_count | Query_block | |
prepare(THD *thd, mem_root_deque< Item * > *insert_field_list) | Query_block | |
prepare_values(THD *thd) | Query_block | private |
print(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_delete(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_delete_options(String *str) | Query_block | |
print_error(const THD *thd, String *str) | Query_block | |
print_from_clause(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_group_by(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_having(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_hints(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_insert(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_insert_fields(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_insert_options(String *str) | Query_block | |
print_item_list(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_limit(const THD *thd, String *str, enum_query_type query_type) const | Query_block | |
print_order(const THD *thd, String *str, ORDER *ord, enum_query_type query_type) | Query_term | static |
print_order_by(const THD *thd, String *str, enum_query_type query_type) const | Query_block | |
print_query_block(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_select_options(String *str) | Query_block | |
print_table_references(const THD *thd, String *str, Table_ref *table_list, enum_query_type query_type) | Query_block | |
print_update(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_update_list(const THD *thd, String *str, enum_query_type query_type, const mem_root_deque< Item * > &fields, const mem_root_deque< Item * > &values) | Query_block | |
print_update_options(String *str) | Query_block | |
print_values(const THD *thd, String *str, enum_query_type query_type, const mem_root_deque< mem_root_deque< Item * > * > &values, const char *prefix) | Query_block | |
print_where_cond(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
print_windows(const THD *thd, String *str, enum_query_type query_type) | Query_block | |
printPointers(std::ostringstream &buf) const | Query_term | |
propagate_unique_test_exclusion() | Query_block | |
push_conditions_to_derived_tables(THD *thd) | Query_block | |
pushdown_limit_order_by(Query_term_set_op *parent=nullptr) | Query_term | |
qbPrint(int level, std::ostringstream &buf) const | Query_block | |
query_block() const override | Query_block | inlinevirtual |
Query_block(MEM_ROOT *mem_root, Item *where, Item *having) | Query_block | |
Query_expression | Query_block | friend |
query_result() const | Query_block | inline |
record_join_nest_info(mem_root_deque< Table_ref * > *tables) | Query_block | private |
recursive_reference | Query_block | |
redundant_order_by(Query_block *block, int level) | Query_term | |
remap_tables(THD *thd) | Query_block | private |
remove_aggregates(THD *thd, Query_block *select) | Query_block | |
remove_base_options(ulonglong options) | Query_block | inline |
remove_hidden_items() | Query_block | |
remove_redundant_subquery_clauses(THD *thd, int hidden_group_field_count) | Query_block | private |
renumber(LEX *lex) | Query_block | |
replace_item_in_expression(Item **expr, bool was_hidden, Item::Item_replacement *info, Item_transformer transformer) | Query_block | private |
replace_referenced_item(Item *const old_item, Item *const new_item) | Query_block | private |
replace_subquery_in_expr(THD *thd, Item::Css_info *subquery, Table_ref *tr, Item **expr) | Query_block | private |
repoint_contexts_of_join_nests(mem_root_deque< Table_ref * > join_list) | Query_block | private |
reset_nj_counters(mem_root_deque< Table_ref * > *join_list=nullptr) | Query_block | |
RESOLVE_CONDITION enum value | Query_block | |
RESOLVE_HAVING enum value | Query_block | |
RESOLVE_JOIN_NEST enum value | Query_block | |
resolve_limits(THD *thd) | Query_block | |
resolve_nest | Query_block | private |
RESOLVE_NONE enum value | Query_block | |
resolve_place | Query_block | |
Resolve_place enum name | Query_block | |
resolve_placeholder_tables(THD *thd, bool apply_semijoin) | Query_block | |
resolve_rollup(THD *thd) | Query_block | private |
resolve_rollup_item(THD *thd, Item *item) | Query_block | private |
resolve_rollup_wfs(THD *thd) | Query_block | |
RESOLVE_SELECT_LIST enum value | Query_block | |
resolve_subquery(THD *thd) | Query_block | private |
resolve_table_value_constructor_values(THD *thd) | Query_block | private |
restore_cmd_properties() | Query_block | |
result_table() | Query_term | inline |
right_joins() const | Query_block | inline |
rollup_group_items | Query_block | |
rollup_sums | Query_block | |
row_value_list | Query_block | |
save_cmd_properties(THD *thd) | Query_block | |
save_order_properties(THD *thd, SQL_I_List< ORDER > *list, Group_list_ptrs **list_ptrs) | Query_block | private |
save_properties(THD *thd) | Query_block | |
saved_cond_count | Query_block | |
select_limit | Query_block | |
select_list_tables | Query_block | |
select_n_having_items | Query_block | |
select_n_where_fields | Query_block | |
select_number | Query_block | |
semijoin_enabled(const THD *thd) const | Query_block | |
set_agg_func_used(bool val) | Query_block | inline |
set_base_options(ulonglong options_arg) | Query_block | inline |
set_context(Name_resolution_context *outer_context) | Query_block | |
set_empty_query() | Query_block | inline |
set_fields(mem_root_deque< Item * > *fields) | Query_term | inline |
set_having_cond(Item *cond) | Query_block | inline |
set_json_agg_func_used(bool val) | Query_block | inline |
set_lock_for_table(const Lock_descriptor &descriptor, Table_ref *table) | Query_block | |
set_lock_for_tables(thr_lock_type lock_type) | Query_block | |
set_owning_operand() | Query_term | inline |
set_query_result(Query_result *result) | Query_block | inline |
set_result_table(Table_ref *tl) | Query_term | inline |
set_right_joins() | Query_block | inline |
set_setop_query_result(Query_result *rs) | Query_term | inline |
set_sibling_idx(uint idx) | Query_term | inline |
set_sj_candidates(Mem_root_array< Item_exists_subselect * > *sj_cand) | Query_block | inline |
set_tables_readonly() | Query_block | inline |
set_where_cond(Item *cond) | Query_block | inline |
setop_query_result() | Query_term | inline |
setop_query_result_union() | Query_term | inline |
setup_base_ref_items(THD *thd) | Query_block | |
setup_conds(THD *thd) | Query_block | |
setup_group(THD *thd) | Query_block | private |
setup_join_cond(THD *thd, mem_root_deque< Table_ref * > *tables, bool in_update) | Query_block | private |
setup_materialize_query_block(AccessPath *childPath, TABLE *dst_table) | Query_block | |
setup_order_final(THD *thd) | Query_block | private |
setup_tables(THD *thd, Table_ref *tables, bool select_insert) | Query_block | |
setup_wild(THD *thd) | Query_block | private |
sibling_idx() | Query_term | inline |
simplify_joins(THD *thd, mem_root_deque< Table_ref * > *join_list, bool top, bool in_sj, Item **new_conds, uint *changelog=nullptr) | Query_block | private |
single_visible_field() const | Query_block | |
sj_candidates | Query_block | private |
sj_nests | Query_block | |
sj_pullout_done | Query_block | |
skip_local_transforms | Query_block | |
slave | Query_block | private |
source_table_is_one_row() const | Query_block | inline |
subquery_in_having | Query_block | |
subquery_strategy(const THD *thd) const | Query_block | |
supported_correlated_scalar_subquery(THD *thd, Item::Css_info *subquery, Item **lifted_where) | Query_block | private |
synthesize_derived(THD *thd, Query_expression *unit, Item *join_cond, bool left_outer, bool use_inner_join) | Query_block | private |
table_func_count | Query_block | |
term_type() const override | Query_block | inlinevirtual |
test_limit() | Query_block | |
transform_grouped_to_derived(THD *thd, bool *break_off) | Query_block | private |
transform_scalar_subqueries_to_join_with_derived(THD *thd) | Query_block | private |
transform_subquery_to_derived(THD *thd, Table_ref **out_tl, Query_expression *subs_query_expression, Item_subselect *subq, bool use_inner_join, bool reject_multiple_rows, Item *join_condition, Item *lifted_where_cond) | Query_block | private |
transform_table_subquery_to_join_with_derived(THD *thd, Item_exists_subselect *subq_pred) | Query_block | private |
type() const | Query_block | |
type_str | Query_block | privatestatic |
uncacheable | Query_block | |
update_semijoin_strategies(THD *thd) | Query_block | |
update_used_tables() | Query_block | |
validate_base_options(LEX *lex, ulonglong options) const | Query_block | |
validate_outermost_option(LEX *lex, const char *wrong_option) const | Query_block | |
validate_structure(const Query_term *parent, int depth=0) const | Query_term | |
visible_fields() | Query_block | inline |
visible_fields() const | Query_block | inline |
walk(Item_processor processor, enum_walk walk, uchar *arg) | Query_block | |
where_cond() const | Query_block | inline |
where_cond_ref() | Query_block | inline |
with_sum_func | Query_block | |
with_wild | Query_block | |
~Query_term()=default | Query_term | virtual |