List:Commits« Previous MessageNext Message »
From:marko.makela Date:May 4 2010 1:14pm
Subject:bzr commit into mysql-5.1-innodb branch (marko.makela:3442) Bug#53306
View as plain text  
#At file:///home/marko/innobase/dev/mysql/5.1-innodb/ based on revid:marko.makela@stripped3pgil2nuat

 3442 Marko Mäkelä	2010-05-04
      fsp_init_file_page_low(): Zero out the page. (Bug #53306)

    modified:
      mysql-test/suite/innodb/t/disabled.def
      storage/innobase/fsp/fsp0fsp.c
      storage/innobase/include/univ.i
=== modified file 'mysql-test/suite/innodb/t/disabled.def'
--- a/mysql-test/suite/innodb/t/disabled.def	2010-04-30 10:02:36 +0000
+++ b/mysql-test/suite/innodb/t/disabled.def	2010-05-04 13:13:58 +0000
@@ -9,4 +9,3 @@
 #  Do not use any TAB characters for whitespace.
 #
 ##############################################################################
-innodb : Bug#53306 2010-04-30 VasilDimov valgrind warnings

=== modified file 'storage/innobase/fsp/fsp0fsp.c'
--- a/storage/innobase/fsp/fsp0fsp.c	2007-06-26 13:08:11 +0000
+++ b/storage/innobase/fsp/fsp0fsp.c	2010-05-04 13:13:58 +0000
@@ -802,12 +802,7 @@ fsp_init_file_page_low(
 
 	buf_block_align(page)->check_index_page_at_flush = FALSE;
 
-#ifdef UNIV_BASIC_LOG_DEBUG
-	memset(page, 0xff, UNIV_PAGE_SIZE);
-#endif
-	mach_write_to_8(page + UNIV_PAGE_SIZE - FIL_PAGE_END_LSN_OLD_CHKSUM,
-			ut_dulint_zero);
-	mach_write_to_8(page + FIL_PAGE_LSN, ut_dulint_zero);
+	memset(page, 0, UNIV_PAGE_SIZE);
 }
 
 /***************************************************************

=== modified file 'storage/innobase/include/univ.i'
--- a/storage/innobase/include/univ.i	2010-04-28 06:33:25 +0000
+++ b/storage/innobase/include/univ.i	2010-05-04 13:13:58 +0000
@@ -126,11 +126,6 @@ by one. */
 			/* the above option prevents forcing of log to disk
 			at a buffer page write: it should be tested with this
 			option off; also some ibuf tests are suppressed */
-/*
-#define UNIV_BASIC_LOG_DEBUG
-*/
-			/* the above option enables basic recovery debugging:
-			new allocated file pages are reset */
 
 #if (!defined(UNIV_DEBUG) && !defined(INSIDE_HA_INNOBASE_CC) && !defined(UNIV_MUST_NOT_INLINE))
 /* Definition for inline version */

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20100504131358-nkdqyc6jjt1cq2kz.bundle
Thread
bzr commit into mysql-5.1-innodb branch (marko.makela:3442) Bug#53306marko.makela4 May