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

Commit9d3d76b

Browse files
author
Nikita Glukhov
committed
fixup! Add non-uniquified json values for improving compatibility with text jsons
1 parent1eb97ec commit9d3d76b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,8 +2801,7 @@ JsontIteratorNext(JsonIterator **pit, JsonValue *val, bool skipNested)
28012801
switch (it->state)
28022802
{
28032803
caseJTI_ARRAY_START:
2804-
JsonValueInitArray(val,it->ji.container->size,0,it->isScalar,
2805-
false);
2804+
JsonValueInitArray(val,-1,0,it->isScalar, false);
28062805
it->state=it->isScalar ?JTI_ARRAY_ELEM_SCALAR :JTI_ARRAY_ELEM;
28072806
returnWJB_BEGIN_ARRAY;
28082807

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp