Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 12f7930

Browse files
author
Nikita Glukhov
committed
Refactor jsonpath items appending to the resulting list
1 parent c10d946 commit 12f7930

File tree

3 files changed

+113
-199
lines changed

3 files changed

+113
-199
lines changed

src/backend/utils/adt/jsonpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ jspGetArg(JsonPathItem *v, JsonPathItem *a)
658658
bool
659659
jspGetNext(JsonPathItem *v, JsonPathItem *a)
660660
{
661-
if (v->nextPos > 0)
661+
if (jspHasNext(v))
662662
{
663663
Assert(
664664
v->type == jpiString ||

0 commit comments

Comments
 (0)