From c984466baaadeb8a6bb286ab94f5ee830e4b3038 Mon Sep 17 00:00:00 2001 From: Nick Tobey Date: Wed, 8 Jan 2025 17:35:44 -0800 Subject: [PATCH] Fix flipped sign in JsonCursor::NextValue --- go/store/prolly/tree/json_cursor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()