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 29a100e345085c10884a541711632b881616e708..aa1b7749d8ca44c02754fc674cb40ac3d806383e 100644 (file)
@@ -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 */