]> granicus.if.org Git - postgresql/commitdiff
Fix stupid typo in recently-added code :-(
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Nov 2007 00:57:55 +0000 (00:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Nov 2007 00:57:55 +0000 (00:57 +0000)
src/backend/storage/smgr/md.c

index d6a7b641ebc9e26bca31e85c5c40b58bf9fdc5cb..79d40d82547b33d0c29b616b937ba0d1f04917f4 100644 (file)
@@ -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 */