mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
branches/zip: Disable accidentally committed debug code that would break
crash recovery of uncompressed tables.
This commit is contained in:
parent
16dddacb6f
commit
a3e8e34568
2 changed files with 2 additions and 3 deletions
|
@ -1914,8 +1914,7 @@ buf_page_io_complete(
|
|||
/* From version 3.23.38 up we store the page checksum
|
||||
to the 4 first bytes of the page end lsn field */
|
||||
|
||||
if (buf_page_is_corrupted(block->frame,
|
||||
block->space ? 16384 : 0/* TODO */)) {
|
||||
if (buf_page_is_corrupted(block->frame, 0/*TODO:zip_size*/)) {
|
||||
fprintf(stderr,
|
||||
"InnoDB: Database page corruption on disk or a failed\n"
|
||||
"InnoDB: file read of page %lu.\n", (ulong) block->offset);
|
||||
|
|
|
@ -455,7 +455,7 @@ buf_flush_init_for_writing(
|
|||
{
|
||||
page_zip_des_t* page_zip = page_zip_;
|
||||
|
||||
if (space/* TODO: space_is_zip */) {
|
||||
if (0/*space/* TODO: space_is_zip */) {
|
||||
switch (fil_page_get_type(page)) {
|
||||
case FIL_PAGE_TYPE_ZBLOB:
|
||||
ut_ad(!page_zip);
|
||||
|
|
Loading…
Add table
Reference in a new issue