Fix stupid typo in recently-added code :-(

This commit is contained in:
Tom Lane 2007-11-16 00:57:55 +00:00
parent f00d75b8d7
commit eae7e00f1f

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * New entries are appended to the end, so if the entry is new we've
* reached the end of old entries. * reached the end of old entries.
*/ */
if (entry->cycle_ctr == mdsync_cycle_ctr) if (entry->cycle_ctr == mdckpt_cycle_ctr)
break; break;
/* Else assert we haven't missed it */ /* Else assert we haven't missed it */