mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix assert bug(was my fault)
This commit is contained in:
parent
598ea2c359
commit
3ca3bb7d8b
@ -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…
x
Reference in New Issue
Block a user