Below is the list of changes that have just been committed into a local
4.1 repository of heikki. When heikki does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2375 05/08/03 18:21:38 heikki@stripped +1 -0
buf0buf.c:
Fix a bug: InnoDB could in a crash recovery print a big false corruption warning if
the first page of an ibdata file was 'recreated' in the buffer pool; this could happen,
for example, if a table was dropped, and the page used later
innobase/buf/buf0buf.c
1.40 05/07/08 17:47:42 heikki@stripped +9 -0
Fix a bug: InnoDB could in a crash recovery print a big false corruption warning if
the first page of an ibdata file was 'recreated' in the buffer pool; this could happen,
for example, if a table was dropped, and the page used later
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: heikki
# Host: hundin.mysql.fi
# Root: /home/heikki/mysql-4.1
--- 1.39/innobase/buf/buf0buf.c 2004-11-26 00:09:23 +02:00
+++ 1.40/innobase/buf/buf0buf.c 2005-07-08 17:47:42 +03:00
@@ -1762,6 +1762,15 @@
buf_flush_free_margin();
frame = block->frame;
+
+ /* Reset to zero the file flush lsn field in the page; if the first
+ page of an ibdata file is 'created' in this function into the buffer
+ pool then we lose the original contents of the file flush lsn stamp.
+ Then InnoDB could in a crash recovery print a big, false, corruption
+ warning if the stamp contains an lsn bigger than the ib_logfile lsn. */
+
+ memset(frame + FIL_PAGE_FILE_FLUSH_LSN, 0, 8);
+
#ifdef UNIV_DEBUG
buf_dbg_counter++;
| Thread |
|---|
| • bk commit into 4.1 tree (heikki:1.2375) | Heikki Tuuri | 3 Aug |