diff options
Diffstat (limited to 'innobase/buf/buf0buf.c')
-rw-r--r-- | innobase/buf/buf0buf.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/innobase/buf/buf0buf.c b/innobase/buf/buf0buf.c index c60132896ef..2af971d38fd 100644 --- a/innobase/buf/buf0buf.c +++ b/innobase/buf/buf0buf.c @@ -1813,21 +1813,6 @@ buf_page_io_complete( "InnoDB: Error: page n:o stored in the page read in is %lu, should be %lu!\n", (ulong) read_page_no, (ulong) block->offset); } -#ifdef notdefined - if (block->offset != 0 && read_page_no == 0) { - /* Check that the page is really uninited */ - - for (i = 0; i < UNIV_PAGE_SIZE; i++) { - - if (*((block->frame) + i) != '\0') { - fprintf(stderr, -"InnoDB: Error: page n:o in the page read in is 0, but page %lu is inited!\n", - block->offset); - break; - } - } - } -#endif /* From version 3.23.38 up we store the page checksum to the 4 first bytes of the page end lsn field */ |