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

Method mark_const_derived

sql/sql_lex.cc:5971–5983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5969*/
5970
5971void SELECT_LEX::mark_const_derived(bool empty)
5972{
5973 TABLE_LIST *derived= master_unit()->derived;
5974 /* join == NULL in DELETE ... RETURNING */
5975 if (!(join && join->thd->lex->describe) && derived)
5976 {
5977 if (!empty)
5978 increase_derived_records(1);
5979 if (!master_unit()->is_unit_op() && !derived->is_merged_derived() &&
5980 !(join && join->with_two_phase_optimization))
5981 derived->fill_me= TRUE;
5982 }
5983}
5984
5985
5986bool st_select_lex::save_leaf_tables(THD *thd)

Callers 2

optimize_stage2Method · 0.80
exec_innerMethod · 0.80

Calls 2

is_unit_opMethod · 0.80
is_merged_derivedMethod · 0.80

Tested by

no test coverage detected