Cleanup.
This commit is contained in:
parent
c31a80faf0
commit
b1eb7b5927
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.18 1998/04/06 17:27:25 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.19 1998/05/26 17:29:07 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -367,18 +367,14 @@ ShmemInitHash(char *name, /* table string name for binding */
|
|||||||
* message since they have more information
|
* message since they have more information
|
||||||
*/
|
*/
|
||||||
if (location == NULL)
|
if (location == NULL)
|
||||||
{
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* it already exists, attach to it rather than allocate and initialize
|
* it already exists, attach to it rather than allocate and initialize
|
||||||
* new space
|
* new space
|
||||||
*/
|
*/
|
||||||
if (found)
|
if (found)
|
||||||
{
|
|
||||||
hash_flags |= HASH_ATTACH;
|
hash_flags |= HASH_ATTACH;
|
||||||
}
|
|
||||||
|
|
||||||
/* these structures were allocated or bound in ShmemInitStruct */
|
/* these structures were allocated or bound in ShmemInitStruct */
|
||||||
/* control information and parameters */
|
/* control information and parameters */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user