This is an automated email from the ASF dual-hosted git repository. maxyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 0942e6c648e089a724ef920eda02ee86ad3736b7 Author: SmartKeyerror <[email protected]> AuthorDate: Wed Mar 30 09:05:25 2022 +0800 remove duplicate codes in ExecSetParamPlan (#13328) Just remove duplicate code in ExecSetParamPlan(), it repeated with line 1158. --- src/backend/executor/nodeSubplan.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/backend/executor/nodeSubplan.c b/src/backend/executor/nodeSubplan.c index 041ffc3254..43adfd129c 100644 --- a/src/backend/executor/nodeSubplan.c +++ b/src/backend/executor/nodeSubplan.c @@ -1185,12 +1185,6 @@ PG_TRY(); astate = initArrayResultAny(subplan->firstColType, CurrentMemoryContext, true); - /* - * Enforce forward scan direction regardless of caller. It's hard but not - * impossible to get here in backward scan, so make it work anyway. - */ - estate->es_direction = ForwardScanDirection; - /* * Must switch to per-query memory context. */ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
