Skip to content

Commit

Permalink
Revert "Merge pull request influxdata#1774 from kylezh/time_range"
Browse files Browse the repository at this point in the history
This reverts commit 98f0627, reversing
changes made to 0597cc3.
  • Loading branch information
otoolep committed Feb 27, 2015
1 parent 98f0627 commit db91f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (tx *tx) CreateIterators(stmt *influxql.SelectStatement) ([]influxql.Iterat
// Find shard groups within time range.
var shardGroups []*ShardGroup
for _, group := range rp.shardGroups {
if timeBetweenInclusive(group.StartTime, tmin, tmax) || timeBetweenInclusive(group.EndTime, tmin, tmax) || (group.StartTime.Before(tmin) && group.EndTime.After(tmax)) {
if timeBetweenInclusive(group.StartTime, tmin, tmax) || timeBetweenInclusive(group.EndTime, tmin, tmax) {
shardGroups = append(shardGroups, group)
}
}
Expand Down

0 comments on commit db91f0c

Please sign in to comment.