1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Call ExecEvalExpr with &isDone (not with NULL).

This commit is contained in:
Vadim B. Mikheev
1997-11-19 05:28:14 +00:00
parent b686104cd5
commit 21261b031c

View File

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