We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a7e6b commit d93f209Copy full SHA for d93f209
src/backend/access/transam/xlog.c
@@ -1117,7 +1117,6 @@ begin:;
1117
*/
1118
if (isLogSwitch)
1119
{
1120
- XLogCtlWrite *Write = &XLogCtl->Write;
1121
XLogwrtRqst FlushRqst;
1122
XLogRecPtr OldSegEnd;
1123
@@ -1140,7 +1139,7 @@ begin:;
1140
1139
1141
/* There should be no unwritten data */
1142
curridx = Insert->curridx;
1143
- Assert(curridx == Write->curridx);
+ Assert(curridx == XLogCtl->Write.curridx);
1144
1145
/* Compute end address of old segment */
1146
OldSegEnd = XLogCtl->xlblocks[curridx];
0 commit comments