mirror of
https://github.com/postgres/postgres.git
synced 2026-03-05 14:54:02 -05:00
Fix assert bug(was my fault)
This commit is contained in:
parent
598ea2c359
commit
3ca3bb7d8b
1 changed files with 2 additions and 3 deletions
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*
|
||||
* 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
|
||||
{
|
||||
Assert(!(buf->flags & BM_DIRTY));
|
||||
/* Assert(!(buf->flags & BM_IO_ERROR)); */
|
||||
Assert((buf->flags & BM_DIRTY) != 0);
|
||||
if (buf->flags & BM_IO_ERROR)
|
||||
{
|
||||
elog(NOTICE, "!!! write error seems permanent !!!");
|
||||
|
|
|
|||
Loading…
Reference in a new issue