Commit 21261b03 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Call ExecEvalExpr with &isDone (not with NULL).

parent b686104c
...@@ -296,7 +296,7 @@ ExecAgg(Agg *node) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment