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

Commit30012a0

Browse files
committed
Fix randAccess setting in ReadRecord()
Commit38a9573 got this backwards.Author: Kyotaro HoriguchiDiscussion:https://www.postgresql.org/message-id/20200128.194408.2260703306774646445.horikyota.ntt@gmail.com
1 parent11da6bc commit30012a0

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4265,7 +4265,7 @@ ReadRecord(XLogReaderState *xlogreader, int emode,
42654265
/* Pass through parameters to XLogPageRead */
42664266
private->fetching_ckpt=fetching_ckpt;
42674267
private->emode=emode;
4268-
private->randAccess= (xlogreader->ReadRecPtr!=InvalidXLogRecPtr);
4268+
private->randAccess= (xlogreader->ReadRecPtr==InvalidXLogRecPtr);
42694269

42704270
/* This is the first attempt to read this page. */
42714271
lastSourceFailed= false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp