aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 2bf49a8af8d..fe184bde3b9 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -5515,7 +5515,7 @@ recoveryStopsBefore(XLogRecord *record)
isCommit = true;
recordXid = record->xl_xid;
}
- if (record_info == XLOG_XACT_COMMIT_PREPARED)
+ else if (record_info == XLOG_XACT_COMMIT_PREPARED)
{
isCommit = true;
recordXid = ((xl_xact_commit_prepared *) XLogRecGetData(record))->xid;