1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

Fix rebasing mistake in nodeGather.c

The patches committed as 6e71dd7ce9
and 3a1f8611f2 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.
This commit is contained in:
Robert Haas
2015-11-09 10:49:24 -05:00
parent 89ff5c7f75
commit bf3d015631

View File

@ -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