diff --git a/go/store/prolly/tree/json_cursor.go b/go/store/prolly/tree/json_cursor.go index 49414b4ff8..ee83b761f8 100644 --- a/go/store/prolly/tree/json_cursor.go +++ b/go/store/prolly/tree/json_cursor.go @@ -135,7 +135,7 @@ func (j *JsonCursor) NextValue(ctx context.Context) (result []byte, err error) { if err != nil { return } - if cmp < 0 { + if cmp >= 0 { break } parseChunk()