OSDN Git Service

ShmemInitHash forgot to specify HASH_ALLOC flag bit in its hash_create
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Dec 2003 00:03:03 +0000 (00:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 30 Dec 2003 00:03:03 +0000 (00:03 +0000)
commite8aa10ee47cd63300aa979751a7ea75562a645aa
tree3ff26990ae2287f4fbfa51fba52b3358f8710f94
parentea43da51386226a3a80572b4608d5fc572c0891f
ShmemInitHash forgot to specify HASH_ALLOC flag bit in its hash_create
call.  You'd think this would cause some problems, but because of the
way hash_create is coded, the only side-effect was creation of a useless
memory context for the hashtable.
src/backend/storage/ipc/shmem.c