Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc50bcbf

Browse files
author
Nikita Glukhov
committed
Use WJB_DONE instead of 0
1 parent2984935 commitc50bcbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/jsonfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4433,7 +4433,7 @@ IteratorConcat(JsonbIterator **it1, JsonbIterator **it2,
44334433
* Append the all tokens from v2 to res, include last WJB_END_OBJECT
44344434
* (the concatenation will be completed).
44354435
*/
4436-
while ((r2=JsonbIteratorNext(it2,&v2, true))!=0)
4436+
while ((r2=JsonbIteratorNext(it2,&v2, true))!=WJB_DONE)
44374437
res=pushJsonbValue(state,r2,r2!=WJB_END_OBJECT ?&v2 :NULL);
44384438
}
44394439

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp