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

Function test_if_group_changed

sql/sql_select.cc:29644–29659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29642*/
29643
29644int
29645test_if_group_changed(List<Cached_item> &list)
29646{
29647 DBUG_ENTER("test_if_group_changed");
29648 List_iterator<Cached_item> li(list);
29649 int idx= -1,i;
29650 Cached_item *buff;
29651
29652 for (i=(int) list.elements-1 ; (buff=li++) ; i--)
29653 {
29654 if (buff->cmp())
29655 idx=i;
29656 }
29657 DBUG_PRINT("info", ("idx: %d", idx));
29658 DBUG_RETURN(idx);
29659}
29660
29661
29662/**

Callers 4

check_if_next_groupMethod · 0.85
end_sendFunction · 0.85
end_send_groupFunction · 0.85
end_write_groupFunction · 0.85

Calls 1

cmpMethod · 0.45

Tested by

no test coverage detected