Skip to content

Commit

Permalink
Rename flags variable to subplan_flags
Browse files Browse the repository at this point in the history
  • Loading branch information
silent-observer committed Dec 13, 2024
1 parent 03335d8 commit f5a93a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/optimizer/plan/createplan.c
Original file line number Diff line number Diff line change
Expand Up @@ -2028,8 +2028,8 @@ create_projection_plan(PlannerInfo *root, ProjectionPath *best_path, int flags)
* Tell create_plan_recurse that we're going to ignore the tlist it
* produces.
*/
int flags = is_function_scan_on_initplan(root, best_path->subpath) ? 0 : CP_IGNORE_TLIST;
subplan = create_plan_recurse(root, best_path->subpath, flags);
int subplan_flags = is_function_scan_on_initplan(root, best_path->subpath) ? 0 : CP_IGNORE_TLIST;
subplan = create_plan_recurse(root, best_path->subpath, subplan_flags);
Assert(is_projection_capable_plan(subplan));
tlist = build_path_tlist(root, &best_path->path);
}
Expand Down

0 comments on commit f5a93a1

Please sign in to comment.