mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
fsp_init_file_page_low(): Zero out the page. (Bug #53306)
This commit is contained in:
@@ -9,4 +9,3 @@
|
|||||||
# Do not use any TAB characters for whitespace.
|
# Do not use any TAB characters for whitespace.
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
innodb : Bug#53306 2010-04-30 VasilDimov valgrind warnings
|
|
||||||
|
@@ -802,12 +802,7 @@ fsp_init_file_page_low(
|
|||||||
|
|
||||||
buf_block_align(page)->check_index_page_at_flush = FALSE;
|
buf_block_align(page)->check_index_page_at_flush = FALSE;
|
||||||
|
|
||||||
#ifdef UNIV_BASIC_LOG_DEBUG
|
memset(page, 0, UNIV_PAGE_SIZE);
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/***************************************************************
|
/***************************************************************
|
||||||
|
@@ -126,11 +126,6 @@ by one. */
|
|||||||
/* the above option prevents forcing of log to disk
|
/* the above option prevents forcing of log to disk
|
||||||
at a buffer page write: it should be tested with this
|
at a buffer page write: it should be tested with this
|
||||||
option off; also some ibuf tests are suppressed */
|
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))
|
#if (!defined(UNIV_DEBUG) && !defined(INSIDE_HA_INNOBASE_CC) && !defined(UNIV_MUST_NOT_INLINE))
|
||||||
/* Definition for inline version */
|
/* Definition for inline version */
|
||||||
|
Reference in New Issue
Block a user