From eae7e00f1f8bcc7571d07086c742ab4a3194418b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 16 Nov 2007 00:57:55 +0000 Subject: [PATCH] Fix stupid typo in recently-added code :-( --- src/backend/storage/smgr/md.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/storage/smgr/md.c b/src/backend/storage/smgr/md.c index d6a7b641eb..79d40d8254 100644 --- a/src/backend/storage/smgr/md.c +++ b/src/backend/storage/smgr/md.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/smgr/md.c,v 1.133 2007/11/15 22:25:16 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/smgr/md.c,v 1.134 2007/11/16 00:57:55 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1185,7 +1185,7 @@ mdpostckpt(void) * New entries are appended to the end, so if the entry is new we've * reached the end of old entries. */ - if (entry->cycle_ctr == mdsync_cycle_ctr) + if (entry->cycle_ctr == mdckpt_cycle_ctr) break; /* Else assert we haven't missed it */ -- 2.40.0