Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21d7c05

Browse files
committed
Fix copy-paste bug in12f3867 triggering an assert after a write error
The same condition accidentally was copied to both branches. Manual testingconfirms that otherwise the error recovery path works fine.Found while reviewing the logical-decoding-on-standby patch.
1 parent96c498d commit21d7c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5199,7 +5199,7 @@ AbortBufferIO(Buffer buf)
51995199
}
52005200
else
52015201
{
5202-
Assert(!(buf_state&BM_DIRTY));
5202+
Assert(buf_state&BM_DIRTY);
52035203
UnlockBufHdr(buf_hdr,buf_state);
52045204

52055205
/* Issue notice if this is not the first failure... */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp