Call ExecEvalExpr with &isDone (not with NULL).

REL6_4
Vadim B. Mikheev 29 years ago
parent b686104cd5
commit 21261b031c
  1. 2
      src/backend/executor/nodeAgg.c

@ -296,7 +296,7 @@ ExecAgg(Agg *node)
tagnode = ((Expr *) aggregates[i]->target)->oper;
econtext->ecxt_scantuple = outerslot;
newVal = ExecEvalExpr(aggregates[i]->target, econtext,
&isNull, NULL);
&isNull, &isDone);
break;
default:
elog(WARN, "ExecAgg: Bad Agg->Target for Agg %d", i);

Loading…
Cancel
Save