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

Commit 1939014

Browse files
knizhnikkelvich
authored andcommitted
Fix PGPRO-717
1 parent 0350ae6 commit 1939014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multimaster.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2513,12 +2513,12 @@ MtmCreateLocalTableMap(void)
25132513
HASHCTL info;
25142514
HTAB* htab;
25152515
memset(&info, 0, sizeof(info));
2516-
info.keysize = sizeof(Oid);
2516+
info.entrysize = info.keysize = sizeof(Oid);
25172517
htab = ShmemInitHash(
25182518
"MtmLocalTables",
25192519
MULTIMASTER_MAX_LOCAL_TABLES, MULTIMASTER_MAX_LOCAL_TABLES,
25202520
&info,
2521-
0
2521+
HASH_ELEM
25222522
);
25232523
return htab;
25242524
}

0 commit comments

Comments
 (0)