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

Commit5b7f1f5

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 parent3b558ac commit5b7f1f5

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
@@ -5489,7 +5489,7 @@ recoveryStopsBefore(XLogRecord *record)
54895489
isCommit= true;
54905490
recordXid=record->xl_xid;
54915491
}
5492-
if (record_info==XLOG_XACT_COMMIT_PREPARED)
5492+
elseif (record_info==XLOG_XACT_COMMIT_PREPARED)
54935493
{
54945494
isCommit= true;
54955495
recordXid= ((xl_xact_commit_prepared*)XLogRecGetData(record))->xid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp