Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c5e46 commit 0d9506dCopy full SHA for 0d9506d
src/backend/utils/adt/jsonb_op.c
@@ -313,10 +313,10 @@ jsonb_hash_extended(PG_FUNCTION_ARGS)
313
{
314
/* Rotation is left to JsonbHashScalarValueExtended() */
315
case WJB_BEGIN_ARRAY:
316
- hash ^= ((UINT64CONST(JB_FARRAY) << 32) | UINT64CONST(JB_FARRAY));
+ hash ^= ((uint64) JB_FARRAY) << 32 | JB_FARRAY;
317
break;
318
case WJB_BEGIN_OBJECT:
319
- hash ^= ((UINT64CONST(JB_FOBJECT) << 32) | UINT64CONST(JB_FOBJECT));
+ hash ^= ((uint64) JB_FOBJECT) << 32 | JB_FOBJECT;
320
321
case WJB_KEY:
322
case WJB_VALUE:
0 commit comments