Skip to content

Commit

Permalink
Refactor ContainsOnlyLocalOrReferenceTables function to improve comme…
Browse files Browse the repository at this point in the history
…nt clarity
  • Loading branch information
m3hm3t committed Feb 12, 2025
1 parent 9a239f9 commit 50d8148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/distributed/planner/multi_router_planner.c
Original file line number Diff line number Diff line change
Expand Up @@ -2563,8 +2563,8 @@ AllShardsColocated(List *relationShardList)
bool
ContainsOnlyLocalOrReferenceTables(RTEListProperties *rteProperties)
{
// If hasDistributedTable is false, then all tables are either local or reference.
return !rteProperties->hasDistributedTable;
/* If hasDistributedTable is false, then all tables are either local or reference. */
return !rteProperties->hasDistributedTable;
}


Expand Down

0 comments on commit 50d8148

Please sign in to comment.