mirror of https://github.com/citusdata/citus.git
Remove unused field (#4275)
parent
d0c6950d43
commit
0c0fc69f2a
|
@ -1812,7 +1812,6 @@ multi_relation_restriction_hook(PlannerInfo *root, RelOptInfo *relOptInfo,
|
|||
relationRestriction->relOptInfo = relOptInfo;
|
||||
relationRestriction->distributedRelation = distributedTable;
|
||||
relationRestriction->plannerInfo = root;
|
||||
relationRestriction->prunedShardIntervalList = NIL;
|
||||
|
||||
/* see comments on GetVarFromAssignedParam() */
|
||||
relationRestriction->outerPlanParamsList = OuterPlanParamsList(root);
|
||||
|
|
|
@ -2651,8 +2651,6 @@ TargetShardIntervalsForRestrictInfo(RelationRestrictionContext *restrictionConte
|
|||
List *joinInfoList = relationRestriction->relOptInfo->joininfo;
|
||||
List *pseudoRestrictionList = extract_actual_clauses(joinInfoList, true);
|
||||
|
||||
relationRestriction->prunedShardIntervalList = NIL;
|
||||
|
||||
/*
|
||||
* Queries may have contradiction clauses like 'false', or '1=0' in
|
||||
* their filters. Such queries would have pseudo constant 'false'
|
||||
|
@ -2682,7 +2680,6 @@ TargetShardIntervalsForRestrictInfo(RelationRestrictionContext *restrictionConte
|
|||
}
|
||||
}
|
||||
|
||||
relationRestriction->prunedShardIntervalList = prunedShardIntervalList;
|
||||
prunedShardIntervalListList = lappend(prunedShardIntervalListList,
|
||||
prunedShardIntervalList);
|
||||
}
|
||||
|
@ -3581,7 +3578,6 @@ CopyRelationRestrictionContext(RelationRestrictionContext *oldContext)
|
|||
|
||||
/* not copyable, but readonly */
|
||||
newRestriction->plannerInfo = oldRestriction->plannerInfo;
|
||||
newRestriction->prunedShardIntervalList = oldRestriction->prunedShardIntervalList;
|
||||
|
||||
newContext->relationRestrictionList =
|
||||
lappend(newContext->relationRestrictionList, newRestriction);
|
||||
|
|
|
@ -64,7 +64,6 @@ typedef struct RelationRestriction
|
|||
RangeTblEntry *rte;
|
||||
RelOptInfo *relOptInfo;
|
||||
PlannerInfo *plannerInfo;
|
||||
List *prunedShardIntervalList;
|
||||
|
||||
/* list of RootPlanParams for all outer nodes */
|
||||
List *outerPlanParamsList;
|
||||
|
|
Loading…
Reference in New Issue