Code review fixes.

pull/1232/head
Ben Johnson 2014-12-16 08:50:30 -07:00
parent 38263e0fac
commit 9bcc48f8f9
2 changed files with 2 additions and 2 deletions

View File

@ -797,7 +797,7 @@ type Visitor interface {
}
// TimeRange returns the minimum and maximum times specified by an expression.
// Returns zero times for if there is no bound.
// Returns zero times if there is no bound.
func TimeRange(expr Expr) (min, max time.Time) {
WalkFunc(expr, func(n Node) {
if n, ok := n.(*BinaryExpr); ok {

View File

@ -16,7 +16,7 @@ type DB interface {
Field(name, field string) (fieldID uint8, typ DataType)
// Returns an iterator given a series data id, field id, & field data type.
CreateIterator(id uint32, fieldID uint8, typ DataType, min, max time.Time, duration time.Duration) Iterator
CreateIterator(id uint32, fieldID uint8, typ DataType, min, max time.Time, interval time.Duration) Iterator
}
// Planner represents an object for creating execution plans.