| 171 | } |
| 172 | |
| 173 | static void _aggregateRecord |
| 174 | ( |
| 175 | OpAggregate *op, |
| 176 | Record r |
| 177 | ) { |
| 178 | // get group |
| 179 | Group *g = _GetGroup(op, r); |
| 180 | ASSERT(g != NULL); |
| 181 | |
| 182 | // aggregate group exps |
| 183 | for(uint i = 0; i < op->aggregate_count; i++) { |
| 184 | AR_ExpNode *exp = g->agg[i]; |
| 185 | AR_EXP_Aggregate(exp, r); |
| 186 | } |
| 187 | |
| 188 | OpBase_DeleteRecord(r); |
| 189 | } |
| 190 | |
| 191 | // returns a record populated with group data |
| 192 | static Record _handoff |
no test coverage detected