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

Method relink_hack

sql/sql_lex.cc:12033–12044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12031*/
12032
12033void LEX::relink_hack(st_select_lex *select_lex)
12034{
12035 if (!select_stack_top) // Statements of the second type
12036 {
12037 if (!select_lex->outer_select())
12038 {
12039 builtin_select.register_unit(select_lex->master_unit(),
12040 &builtin_select.context);
12041 builtin_select.add_statistics(select_lex->master_unit());
12042 }
12043 }
12044}
12045
12046
12047bool SELECT_LEX_UNIT::set_lock_to_the_last_select(Lex_select_lock l)

Callers 1

initMethod · 0.80

Calls 4

register_unitMethod · 0.80
master_unitMethod · 0.80
add_statisticsMethod · 0.80
outer_selectMethod · 0.45

Tested by

no test coverage detected