Code review fixes.
parent
38263e0fac
commit
9bcc48f8f9
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue