File tree 1 file changed +4
-2
lines changed
src/backend/storage/buffer
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.36 2003/11/19 15:55:07 wieck Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.37 2003/11/27 18:12:50 petere Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
694
694
StrategyInvalidateBuffer (BufferDesc * buf )
695
695
{
696
696
int cdb_id ;
697
+ #ifdef USE_ASSERT_CHECKING
697
698
int buf_id ;
699
+ #endif
698
700
BufferStrategyCDB * cdb ;
699
701
700
702
/* The buffer cannot be dirty or pinned */
@@ -705,7 +707,7 @@ StrategyInvalidateBuffer(BufferDesc *buf)
705
707
* If we have the buffer somewhere in the directory, remove it,
706
708
* add the CDB to the list of unused CDB's. and the buffer to
707
709
* the list of free buffers
708
- */
710
+ */
709
711
cdb_id = BufTableLookup (& (buf -> tag ));
710
712
if (cdb_id >= 0 )
711
713
{
You can’t perform that action at this time.
0 commit comments