Skip to content

Commit

Permalink
Update pkg/table/index.go
Browse files Browse the repository at this point in the history
Co-authored-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
tangenta and lance6716 authored Nov 2, 2023
1 parent 0682d0b commit eea4b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/table/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (iter *IndexKVGenerator) Next(keyBuf, valBuf []byte) ([]byte, []byte, bool,
return key, idxVal, distinct, err
}

// Valid returns true if the generator is exhausted.
// Valid returns true if the generator is not exhausted.
func (iter *IndexKVGenerator) Valid() bool {
if len(iter.allIdxVals) == 0 {
return iter.i == 0
Expand Down

0 comments on commit eea4b78

Please sign in to comment.