mirror of https://github.com/citusdata/citus.git
Formatting fixes
Noticed a lot of weird lines wrapped at 80; our standard is 90.pull/2640/head
parent
6acf52660c
commit
6a0dc7756e
|
@ -534,8 +534,7 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
|
||||||
|
|
||||||
if (!prune->addedToPruningInstances)
|
if (!prune->addedToPruningInstances)
|
||||||
{
|
{
|
||||||
context->pruningInstances = lappend(context->pruningInstances,
|
context->pruningInstances = lappend(context->pruningInstances, prune);
|
||||||
prune);
|
|
||||||
prune->addedToPruningInstances = true;
|
prune->addedToPruningInstances = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -565,8 +564,8 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
|
||||||
* Found a restriction on the partition column itself. Update the
|
* Found a restriction on the partition column itself. Update the
|
||||||
* current constraint with the new information.
|
* current constraint with the new information.
|
||||||
*/
|
*/
|
||||||
AddPartitionKeyRestrictionToInstance(context,
|
AddPartitionKeyRestrictionToInstance(context, opClause, varClause,
|
||||||
opClause, varClause, constantClause);
|
constantClause);
|
||||||
}
|
}
|
||||||
else if (constantClause && varClause &&
|
else if (constantClause && varClause &&
|
||||||
varClause->varattno == RESERVED_HASHED_COLUMN_ID)
|
varClause->varattno == RESERVED_HASHED_COLUMN_ID)
|
||||||
|
@ -597,8 +596,7 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
|
||||||
*/
|
*/
|
||||||
if (!prune->addedToPruningInstances)
|
if (!prune->addedToPruningInstances)
|
||||||
{
|
{
|
||||||
context->pruningInstances = lappend(context->pruningInstances,
|
context->pruningInstances = lappend(context->pruningInstances, prune);
|
||||||
prune);
|
|
||||||
prune->addedToPruningInstances = true;
|
prune->addedToPruningInstances = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -740,8 +738,7 @@ AddPartitionKeyRestrictionToInstance(ClauseWalkerContext *context, OpExpr *opCla
|
||||||
/* at this point, we'd better be able to pass binary Datums to comparison functions */
|
/* at this point, we'd better be able to pass binary Datums to comparison functions */
|
||||||
Assert(IsBinaryCoercible(constantClause->consttype, partitionColumn->vartype));
|
Assert(IsBinaryCoercible(constantClause->consttype, partitionColumn->vartype));
|
||||||
|
|
||||||
btreeInterpretationList =
|
btreeInterpretationList = get_op_btree_interpretation(opClause->opno);
|
||||||
get_op_btree_interpretation(opClause->opno);
|
|
||||||
foreach(btreeInterpretationCell, btreeInterpretationList)
|
foreach(btreeInterpretationCell, btreeInterpretationList)
|
||||||
{
|
{
|
||||||
OpBtreeInterpretation *btreeInterpretation =
|
OpBtreeInterpretation *btreeInterpretation =
|
||||||
|
@ -846,8 +843,7 @@ AddPartitionKeyRestrictionToInstance(ClauseWalkerContext *context, OpExpr *opCla
|
||||||
|
|
||||||
if (!matchedOp)
|
if (!matchedOp)
|
||||||
{
|
{
|
||||||
prune->otherRestrictions =
|
prune->otherRestrictions = lappend(prune->otherRestrictions, opClause);
|
||||||
lappend(prune->otherRestrictions, opClause);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue