Skip to content

Commit 4132d4c

Browse files
author
Dipesh Dhameliya
committed
Adress comments
1 parent 14e63fb commit 4132d4c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/backend/executor/execMain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,8 @@ ExecCheckOneRelPerms(RTEPermissionInfo *perminfo)
658658
* using this hook.
659659
* Note - This hook must not be used outside of Babelfish parallel worker
660660
*/
661-
if (IsBabelfishParallelWorker() &&
662-
ExecCheckOneRelPerms_hook &&
661+
if (ExecCheckOneRelPerms_hook &&
662+
IsBabelfishParallelWorker() &&
663663
(*ExecCheckOneRelPerms_hook)(perminfo))
664664
return true;
665665

src/backend/executor/execParallel.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,7 @@ ExecInitParallelPlan(PlanState *planstate, EState *estate,
688688

689689
/* Let extension estimate a dynamic shared memory needed to communicate additional context */
690690
if (ExecInitParallelPlan_hook)
691-
{
692691
(*ExecInitParallelPlan_hook)(estate, pcxt, true);
693-
}
694692

695693
/*
696694
* Give parallel-aware nodes a chance to add to the estimates, and get a

0 commit comments

Comments
 (0)