projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dec46b5
)
Fix Assert introduced in previous patch.
author
Heikki Linnakangas
<
[email protected]
>
Fri, 9 May 2008 15:28:01 +0000
(15:28 +0000)
committer
Heikki Linnakangas
<
[email protected]
>
Fri, 9 May 2008 15:28:01 +0000
(15:28 +0000)
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 87b640671aacce3e5f7dfc69dcd76fcc968333c7..67541fce24fced9b48898cffa91f48530b3972ab 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-2506,7
+2506,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);