7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.23 1998/06/27 04:53:36 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/storage/ipc/shmem.c,v 1.24 1998/06/27 14:06:41 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -490,12 +490,9 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
490
490
491
491
if (!BindingTable )
492
492
{
493
- /* Assert() is a macro now. substitutes inside quotes. */
494
493
#ifdef USE_ASSERT_CHECKING
495
494
char * strname = "BindingTable" ;
496
-
497
495
#endif
498
-
499
496
/*
500
497
* If the binding table doesnt exist, we fake it.
501
498
*
@@ -531,7 +528,6 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
531
528
532
529
if (!result )
533
530
{
534
-
535
531
SpinRelease (BindingLock );
536
532
537
533
elog (ERROR , "ShmemInitStruct: Binding Table corrupted" );
@@ -540,7 +536,6 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
540
536
}
541
537
else if (* foundPtr )
542
538
{
543
-
544
539
/*
545
540
* Structure is in the binding table so someone else has allocated
546
541
* it already. The size better be the same as the size we are
@@ -558,7 +553,6 @@ ShmemInitStruct(char *name, unsigned long size, bool *foundPtr)
558
553
}
559
554
else
560
555
{
561
-
562
556
/* It isn't in the table yet. allocate and initialize it */
563
557
structPtr = ShmemAlloc ((long ) size );
564
558
if (!structPtr )
0 commit comments