Skip to content

Commit

Permalink
We are incorrectly passing a bool to a pointer-to-bool parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
tejeswarm committed Mar 30, 2023
1 parent d3fb928 commit b50f8b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backend/distributed/planner/insert_select_planner.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ RouterModifyTaskForShardInterval(Query *originalQuery,
&prunedShardIntervalListList,
replacePrunedQueryWithDummy,
&multiShardModifyQuery, NULL,
false);
NULL);

Assert(!multiShardModifyQuery);

Expand Down Expand Up @@ -938,6 +938,7 @@ RouterModifyTaskForShardInterval(Query *originalQuery,
modifyTask->taskPlacementList = insertShardPlacementList;
modifyTask->relationShardList = relationShardList;
modifyTask->replicationModel = targetTableCacheEntry->replicationModel;
modifyTask->isLocalTableModification = false;

return modifyTask;
}
Expand Down

0 comments on commit b50f8b4

Please sign in to comment.