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