We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentbaeab89 commitc9190efCopy full SHA for c9190ef
src/backend/storage/buffer/freelist.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.36 2003/11/19 15:55:07 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/freelist.c,v 1.37 2003/11/27 18:12:50 petere Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -694,7 +694,9 @@ void
694
StrategyInvalidateBuffer(BufferDesc*buf)
695
{
696
intcdb_id;
697
+#ifdefUSE_ASSERT_CHECKING
698
intbuf_id;
699
+#endif
700
BufferStrategyCDB*cdb;
701
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
709
* the list of free buffers
- */
710
+ */
711
cdb_id=BufTableLookup(&(buf->tag));
712
if (cdb_id >=0)
713