Try to repair poorly-considered code in previous commit.
This commit is contained in:
parent
81c5e46c49
commit
0d9506d125
@ -313,10 +313,10 @@ jsonb_hash_extended(PG_FUNCTION_ARGS)
|
|||||||
{
|
{
|
||||||
/* Rotation is left to JsonbHashScalarValueExtended() */
|
/* Rotation is left to JsonbHashScalarValueExtended() */
|
||||||
case WJB_BEGIN_ARRAY:
|
case WJB_BEGIN_ARRAY:
|
||||||
hash ^= ((UINT64CONST(JB_FARRAY) << 32) | UINT64CONST(JB_FARRAY));
|
hash ^= ((uint64) JB_FARRAY) << 32 | JB_FARRAY;
|
||||||
break;
|
break;
|
||||||
case WJB_BEGIN_OBJECT:
|
case WJB_BEGIN_OBJECT:
|
||||||
hash ^= ((UINT64CONST(JB_FOBJECT) << 32) | UINT64CONST(JB_FOBJECT));
|
hash ^= ((uint64) JB_FOBJECT) << 32 | JB_FOBJECT;
|
||||||
break;
|
break;
|
||||||
case WJB_KEY:
|
case WJB_KEY:
|
||||||
case WJB_VALUE:
|
case WJB_VALUE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user