Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshahid committed Jan 31, 2014
1 parent 52fad8d commit d180075
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/datastore/leveldb_datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -881,9 +881,7 @@ func (self *LevelDbDatastore) executeQueryForSeries(database, series string, col
if err != nil {
return err
}
if shouldLimit {
limit += dropped
}
limit += dropped
resultByteCount = 0
result = &protocol.Series{Name: &series, Fields: fieldNames, Points: make([]*protocol.Point, 0)}
}
Expand Down

0 comments on commit d180075

Please sign in to comment.