回合代码fixvacuum+limit语句不退出

This commit is contained in:
mujinqiang
2021-04-16 19:46:37 +08:00
parent 5af8c3d0d3
commit f94d4c96c7
24 changed files with 108 additions and 68 deletions

View File

@ -153,11 +153,9 @@ TupleTableSlot* ExecHashJoin(HashJoinState* node)
* It should be noticed that we can not do early deinit
* within predpush.
*/
#ifdef ENABLE_MULTIPLE_NODES
if (((PlanState*)node) != NULL && !CheckParamWalker((PlanState*)node)) {
ExecEarlyDeinitConsumer((PlanState*)node);
}
#endif
ExecEarlyFree((PlanState*)node);
EARLY_FREE_LOG(elog(LOG, "Early Free: HashJoin early return NULL"
@ -206,11 +204,10 @@ TupleTableSlot* ExecHashJoin(HashJoinState* node)
* It should be noticed that we can not do early deinit
* within predpush.
*/
#ifdef ENABLE_MULTIPLE_NODES
if (((PlanState*)node) != NULL && !CheckParamWalker((PlanState*)node)) {
ExecEarlyDeinitConsumer((PlanState*)node);
}
#endif
return NULL;
}