Commit eae7e00f authored by Tom Lane's avatar Tom Lane

Fix stupid typo in recently-added code :-(

parent f00d75b8
...@@ -8,7 +8,7 @@ ...@@ -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) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment