1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-17 17:02:08 +03:00

Fix assert bug(was my fault)

This commit is contained in:
Hiroshi Inoue
2000-02-17 05:00:38 +00:00
parent 598ea2c359
commit 3ca3bb7d8b

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.72 2000/01/26 05:56:50 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.73 2000/02/17 05:00:38 inoue Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -2269,8 +2269,7 @@ extern void AbortBufferIO(void)
} }
else else
{ {
Assert(!(buf->flags & BM_DIRTY)); Assert((buf->flags & BM_DIRTY) != 0);
/* Assert(!(buf->flags & BM_IO_ERROR)); */
if (buf->flags & BM_IO_ERROR) if (buf->flags & BM_IO_ERROR)
{ {
elog(NOTICE, "!!! write error seems permanent !!!"); elog(NOTICE, "!!! write error seems permanent !!!");