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

Commit760780b

Browse files
author
Nikita Glukhov
committed
fixup! Add JsonFreeIfCopy()
1 parenta40c494 commit760780b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/include/utils/json_generic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ typedef struct Json
140140
if (!VARATT_IS_EXTERNAL_EXPANDED(DatumGetPointer(datum))) \
141141
JsonFree(json); \
142142
else \
143-
Assert(DatumGetEOHP(PG_GETARG_DATUM(n)) == &(json)->obj.eoh); \
143+
Assert(DatumGetEOHP(datum) == &(json)->obj.eoh); \
144144
} while (0)
145145

146146
#definePG_FREE_IF_COPY_JSONB(json,n) \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp