remove the if statement to actually yield empty series

pull/269/head
John Shahid 2014-02-25 15:01:46 -05:00
parent 8e1261bc95
commit da2b3e5946
1 changed files with 3 additions and 5 deletions

View File

@ -192,13 +192,11 @@ func (self *QueryEngine) Close() {
Name: series.Name,
Fields: series.Fields,
}
if len(s.Points) > 0 {
err = self.yield(s)
if err != nil {
break
}
}
}
if self.isAggregateQuery {
self.runAggregates()