Fix #21 and change the MQL semantics slightly to match the original MQL
This commit is contained in:
parent
18c56be950
commit
18c4c555b5
6 changed files with 42 additions and 23 deletions
|
|
@ -59,7 +59,7 @@ func (it *Int64AllIterator) Clone() Iterator {
|
|||
|
||||
// Prints the All iterator as just an "all".
|
||||
func (it *Int64AllIterator) DebugString(indent int) string {
|
||||
return fmt.Sprintf("%s(%s)", strings.Repeat(" ", indent), it.Type())
|
||||
return fmt.Sprintf("%s(%s tags: %v)", strings.Repeat(" ", indent), it.Type(), it.Tags())
|
||||
}
|
||||
|
||||
// Next() on an Int64 all iterator is a simple incrementing counter.
|
||||
|
|
|
|||
|
|
@ -173,6 +173,9 @@ func (it *AndIterator) checkCheckList(val TSVal) bool {
|
|||
break
|
||||
}
|
||||
}
|
||||
if ok {
|
||||
it.Last = val
|
||||
}
|
||||
return CheckLogOut(it, val, ok)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue