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

Commit0d9506d

Browse files
committed
Try to repair poorly-considered code in previous commit.
1 parent81c5e46 commit0d9506d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,10 @@ jsonb_hash_extended(PG_FUNCTION_ARGS)
313313
{
314314
/* Rotation is left to JsonbHashScalarValueExtended() */
315315
caseWJB_BEGIN_ARRAY:
316-
hash ^= ((UINT64CONST(JB_FARRAY) <<32) |UINT64CONST(JB_FARRAY));
316+
hash ^= ((uint64)JB_FARRAY) <<32 |JB_FARRAY;
317317
break;
318318
caseWJB_BEGIN_OBJECT:
319-
hash ^= ((UINT64CONST(JB_FOBJECT) <<32) |UINT64CONST(JB_FOBJECT));
319+
hash ^= ((uint64)JB_FOBJECT) <<32 |JB_FOBJECT;
320320
break;
321321
caseWJB_KEY:
322322
caseWJB_VALUE:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp