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

Commitc5f42ce

Browse files
committed
Fix Assert introduced in previous patch.
1 parentf0eb3e5 commitc5f42ce

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.301 2008/05/0914:27:47 heikki Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.302 2008/05/0915:27:17 heikki Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2507,7 +2507,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
25072507
ControlFile->checkPointCopy.ThisTimeLineID,
25082508
restartLog,restartSeg);
25092509
/* we shouldn't need anything earlier than last restart point */
2510-
Assert(strcmp(lastRestartPointFname,xlogfname)<0);
2510+
Assert(strcmp(lastRestartPointFname,xlogfname) <=0);
25112511
}
25122512
else
25132513
XLogFileName(lastRestartPointFname,0,0,0);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp