MCPcopy Create free account
hub / github.com/MariaDB/server / set_main_unit

Method set_main_unit

sql/sql_lex.h:4984–4995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4982 SELECT_LEX *create_priority_nest(SELECT_LEX *first_in_nest, SELECT_LEX *attach_to);
4983
4984 bool set_main_unit(st_select_lex_unit *u)
4985 {
4986 unit.options= u->options;
4987 unit.uncacheable= u->uncacheable;
4988 unit.register_select_chain(u->first_select());
4989 unit.first_select()->options|= builtin_select.options;
4990 unit.fake_select_lex= u->fake_select_lex;
4991 unit.union_distinct= u->union_distinct;
4992 unit.set_with_clause(u->with_clause);
4993 builtin_select.exclude_from_global();
4994 return false;
4995 }
4996 bool check_main_unit_semantics();
4997
4998 SELECT_LEX_UNIT *parsed_select_expr_start(SELECT_LEX *s1, SELECT_LEX *s2,

Callers

nothing calls this directly

Calls 4

register_select_chainMethod · 0.80
first_selectMethod · 0.80
exclude_from_globalMethod · 0.80
set_with_clauseMethod · 0.60

Tested by

no test coverage detected