mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
Fix copy & paste error in 4f1b890b13
.
Due to the bug delayed standbys would not delay when applying prepared transactions. Discussion: CAB7nPqT6BO1cCn+sAyDByBxA4EKZNAiPi2mFJ=ANeZmnmewRyg@mail.gmail.com Michael Paquier via Coverity.
This commit is contained in:
parent
372b97097e
commit
a1105c3dd4
@ -5534,7 +5534,7 @@ recoveryApplyDelay(XLogReaderState *record)
|
||||
if (XLogRecGetRmid(record) != RM_XACT_ID)
|
||||
return false;
|
||||
|
||||
xact_info = XLogRecGetInfo(record) & XLOG_XACT_COMMIT;
|
||||
xact_info = XLogRecGetInfo(record) & XLOG_XACT_OPMASK;
|
||||
|
||||
if (xact_info != XLOG_XACT_COMMIT &&
|
||||
xact_info != XLOG_XACT_COMMIT_PREPARED)
|
||||
|
Loading…
Reference in New Issue
Block a user