projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
372b970
)
Fix copy & paste error in 4f1b890b137.
author
Andres Freund
<andres@anarazel.de>
Mon, 23 Mar 2015 13:51:59 +0000
(14:51 +0100)
committer
Andres Freund
<andres@anarazel.de>
Mon, 23 Mar 2015 14:53:40 +0000
(15:53 +0100)
Due to the bug delayed standbys would not delay when applying prepared
transactions.
Discussion: CAB7nPqT6BO1cCn+sAyDByBxA4EKZNAiPi2mFJ=ANeZmnmewRyg@mail.gmail.com
Michael Paquier via Coverity.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index e2d187f74d6a0d8d33598227756135c5c8efbb8b..bc8363b4c769b9ac365b2df12fe15cb55d15b0c8 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-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)