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

Method reset_distinct

sql/sql_lex.cc:11333–11345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11331}
11332
11333void st_select_lex_unit::reset_distinct()
11334{
11335 union_distinct= NULL;
11336 for(SELECT_LEX *sl= first_select()->next_select();
11337 sl;
11338 sl= sl->next_select())
11339 {
11340 if (sl->distinct)
11341 {
11342 union_distinct= sl;
11343 }
11344 }
11345}
11346
11347
11348void LEX::save_values_list_state()

Callers 2

create_unitMethod · 0.80
attach_selects_chainMethod · 0.80

Calls 1

next_selectMethod · 0.80

Tested by

no test coverage detected