Skip to content

Commit

Permalink
Uses correct value group for unbounded range end in query
Browse files Browse the repository at this point in the history
  • Loading branch information
tinwelint committed Sep 24, 2018
1 parent 2cbc5c2 commit b0f2dfb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private static void initFromForRange( int stateSlot, RangePredicate<?> rangePred
Value fromValue = rangePredicate.fromValue();
if ( fromValue == Values.NO_VALUE )
{
treeKeyFrom.initValueAsLowest( stateSlot, ValueGroup.UNKNOWN );
treeKeyFrom.initValueAsLowest( stateSlot, rangePredicate.valueGroup() );
}
else
{
Expand All @@ -212,7 +212,7 @@ private static void initToForRange( int stateSlot, RangePredicate<?> rangePredic
Value toValue = rangePredicate.toValue();
if ( toValue == Values.NO_VALUE )
{
treeKeyTo.initValueAsHighest( stateSlot, ValueGroup.UNKNOWN );
treeKeyTo.initValueAsHighest( stateSlot, rangePredicate.valueGroup() );
}
else
{
Expand Down

0 comments on commit b0f2dfb

Please sign in to comment.