Per sylvar in IRC and in
https://bugs.launchpad.net/evergreen/+bug/
1240636, "elfield" should be
"selfield" (even though the code in question is currently inside an "#if
0" block and will never execute).
Signed-off-by: Dan Scott <dscott@laurentian.ca>
#if 0
if (is_agg->size || (flags & SELECT_DISTINCT)) {
- const jsonObject* aggregate_obj = jsonObjectGetKeyConst( elfield, "aggregate");
+ const jsonObject* aggregate_obj = jsonObjectGetKeyConst( selfield, "aggregate");
if ( ! obj_is_true( aggregate_obj ) ) {
if (gfirst) {
gfirst = 0;