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

Commit60d9318

Browse files
committed
Oops, fix recoveryStopsBefore functions for regular commits.
Pointed out by Tom Lane. Backpatch to 9.4, the code was structureddifferently in earlier branches and didn't have this mistake.
1 parente74e090 commit60d9318

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
@@ -5515,7 +5515,7 @@ recoveryStopsBefore(XLogRecord *record)
55155515
isCommit= true;
55165516
recordXid=record->xl_xid;
55175517
}
5518-
if (record_info==XLOG_XACT_COMMIT_PREPARED)
5518+
elseif (record_info==XLOG_XACT_COMMIT_PREPARED)
55195519
{
55205520
isCommit= true;
55215521
recordXid= ((xl_xact_commit_prepared*)XLogRecGetData(record))->xid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp