18.1.5 end_group()

Prototype: virtual void end_group(void);

This member function is called whenever the end of a group in a GROUP BY is detected, it is called after the call to add() for the last source row in the group but before sending the actual aggregated result row for the group with Section 18.1.3, “send_row()”.