Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6c4ad7f

Browse files
committed
Fix PGPRO-717
1 parent 3cd6f2f commit 6c4ad7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/mmts/multimaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,12 +2512,12 @@ MtmCreateLocalTableMap(void)
25122512
HASHCTL info;
25132513
HTAB* htab;
25142514
memset(&info, 0, sizeof(info));
2515-
info.keysize = sizeof(Oid);
2515+
info.entrysize = info.keysize = sizeof(Oid);
25162516
htab = ShmemInitHash(
25172517
"MtmLocalTables",
25182518
MULTIMASTER_MAX_LOCAL_TABLES, MULTIMASTER_MAX_LOCAL_TABLES,
25192519
&info,
2520-
0
2520+
HASH_ELEM
25212521
);
25222522
return htab;
25232523
}

0 commit comments

Comments
 (0)