Skip to content

Commit e730520

Browse files
committed
Bug fix.
1 parent b54791d commit e730520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hstore_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ get_entry_hash(HEntry *hsent, char *ptr, int i)
6464

6565
result |= (uint64) tag_hash(HS_KEY(hsent, ptr, i), HS_KEYLEN(hsent, i)) << 32;
6666

67-
if (HS_VALISNULL(hsent, i))
67+
if (!HS_VALISNULL(hsent, i))
6868
result |= (uint64) tag_hash(HS_VAL(hsent, ptr, i), HS_VALLEN(hsent, i));
6969

7070
return result;

0 commit comments

Comments
 (0)