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

Commitd93f209

Browse files
committed
Silence warning about unused variable, when building without assertions.
1 parent66a7e6b commitd93f209

File tree

1 file changed

+1
-2
lines changed
  • src/backend/access/transam

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,6 @@ begin:;
11171117
*/
11181118
if (isLogSwitch)
11191119
{
1120-
XLogCtlWrite*Write=&XLogCtl->Write;
11211120
XLogwrtRqstFlushRqst;
11221121
XLogRecPtrOldSegEnd;
11231122

@@ -1140,7 +1139,7 @@ begin:;
11401139

11411140
/* There should be no unwritten data */
11421141
curridx=Insert->curridx;
1143-
Assert(curridx==Write->curridx);
1142+
Assert(curridx==XLogCtl->Write.curridx);
11441143

11451144
/* Compute end address of old segment */
11461145
OldSegEnd=XLogCtl->xlblocks[curridx];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp