Commit bf3d0156 authored by Robert Haas's avatar Robert Haas

Fix rebasing mistake in nodeGather.c

The patches committed as 6e71dd7c
and 3a1f8611 were developed in
parallel but dependent on each other in a way that I failed to
notice.

This patch to fix the problem was prepared by Amit Kapila.
parent 89ff5c7f
...@@ -341,7 +341,7 @@ gather_readnext(GatherState *gatherstate) ...@@ -341,7 +341,7 @@ gather_readnext(GatherState *gatherstate)
--gatherstate->nreaders; --gatherstate->nreaders;
if (gatherstate->nreaders == 0) if (gatherstate->nreaders == 0)
{ {
ExecShutdownGather(gatherstate); ExecShutdownGatherWorkers(gatherstate);
return NULL; return NULL;
} }
else else
......
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