Revert "Merge pull request #1774 from kylezh/time_range"

This reverts commit 98f062743b, reversing
changes made to 0597cc34f5.
pull/1781/head
Philip O'Toole 2015-02-27 13:38:55 -08:00
parent 98f062743b
commit db91f0caeb
1 changed files with 1 additions and 1 deletions

2
tx.go
View File

@ -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)
}
}