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

Commit3536b85

Browse files
committed
Fix compilation with WAL_DEBUG.
Broke with5c279a6. But looks like it had been half-broken since70e8186, because 'rmid' didn't refer to the current record's rmid anymore,but to rmid from "Initialize resource managers" - a constant.
1 parent5c279a6 commit3536b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/access/transam/xlogrecovery.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,8 +1634,8 @@ PerformWalRecovery(void)
16341634

16351635
#ifdefWAL_DEBUG
16361636
if (XLOG_DEBUG||
1637-
(rmid==RM_XACT_ID&&trace_recovery_messages <=DEBUG2)||
1638-
(rmid!=RM_XACT_ID&&trace_recovery_messages <=DEBUG3))
1637+
(record->xl_rmid==RM_XACT_ID&&trace_recovery_messages <=DEBUG2)||
1638+
(record->xl_rmid!=RM_XACT_ID&&trace_recovery_messages <=DEBUG3))
16391639
{
16401640
StringInfoDatabuf;
16411641

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp