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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user