projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c5e46
)
Try to repair poorly-considered code in previous commit.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 1 Sep 2017 03:09:00 +0000
(23:09 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 1 Sep 2017 03:09:00 +0000
(23:09 -0400)
src/backend/utils/adt/jsonb_op.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/jsonb_op.c
b/src/backend/utils/adt/jsonb_op.c
index c4a7dc3f13a5fdb2b24a61430182cf9f75c6da1c..52a7e19a542f4f8b470216c8cffda1d6285a05ad 100644
(file)
--- a/
src/backend/utils/adt/jsonb_op.c
+++ b/
src/backend/utils/adt/jsonb_op.c
@@
-313,10
+313,10
@@
jsonb_hash_extended(PG_FUNCTION_ARGS)
{
/* Rotation is left to JsonbHashScalarValueExtended() */
case WJB_BEGIN_ARRAY:
- hash ^= ((
UINT64CONST(JB_FARRAY) << 32) | UINT64CONST(JB_FARRAY))
;
+ hash ^= ((
uint64) JB_FARRAY) << 32 | JB_FARRAY
;
break;
case WJB_BEGIN_OBJECT:
- hash ^= ((
UINT64CONST(JB_FOBJECT) << 32) | UINT64CONST(JB_FOBJECT))
;
+ hash ^= ((
uint64) JB_FOBJECT) << 32 | JB_FOBJECT
;
break;
case WJB_KEY:
case WJB_VALUE: