git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f0eb3e5)
Fix Assert introduced in previous patch.
Fri, 9 May 2008 15:27:17 +0000 (15:27 +0000)
Fri, 9 May 2008 15:27:17 +0000 (15:27 +0000)

diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index f0b86fdc7144758facaea6b019255b95db894c7d..05011b9df0cbe87f49d8c717816c2c3dda8a0484 100644 (file)
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.301 2008年05月09日 14:27:47 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.302 2008年05月09日 15:27:17 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2507,7 +2507,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
ControlFile->checkPointCopy.ThisTimeLineID,
restartLog, restartSeg);
/* we shouldn't need anything earlier than last restart point */
- Assert(strcmp(lastRestartPointFname, xlogfname) < 0);
+ Assert(strcmp(lastRestartPointFname, xlogfname) <= 0);
}
else
XLogFileName(lastRestartPointFname, 0, 0, 0);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /