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

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

    modified:
      storage/innodb_plugin/fsp/fsp0fsp.c
=== modified file 'storage/innodb_plugin/fsp/fsp0fsp.c'
--- a/storage/innodb_plugin/fsp/fsp0fsp.c	2010-02-20 16:45:41 +0000
+++ b/storage/innodb_plugin/fsp/fsp0fsp.c	2010-05-04 13:09:17 +0000
@@ -869,12 +869,10 @@ fsp_init_file_page_low(
 		return;
 	}
 
-	UNIV_MEM_INVALID(page, UNIV_PAGE_SIZE);
+	memset(page, 0, UNIV_PAGE_SIZE);
 	mach_write_to_4(page + FIL_PAGE_OFFSET, buf_block_get_page_no(block));
-	memset(page + FIL_PAGE_LSN, 0, 8);
 	mach_write_to_4(page + FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID,
 			buf_block_get_space(block));
-	memset(page + UNIV_PAGE_SIZE - FIL_PAGE_END_LSN_OLD_CHKSUM, 0, 8);
 }
 
 #ifndef UNIV_HOTBACKUP

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