Commit 54fbfaa8 authored by marko's avatar marko

branches/zip: page_zip_validate(): On page header mismatch,

dump the data structures.  This was forgotten in r2698.
parent eb8b2948
...@@ -3008,6 +3008,9 @@ page_zip_validate( ...@@ -3008,6 +3008,9 @@ page_zip_validate(
|| memcmp(page_zip->data + FIL_PAGE_DATA, page + FIL_PAGE_DATA, || memcmp(page_zip->data + FIL_PAGE_DATA, page + FIL_PAGE_DATA,
PAGE_DATA - FIL_PAGE_DATA)) { PAGE_DATA - FIL_PAGE_DATA)) {
page_zip_fail(("page_zip_validate: page header\n")); page_zip_fail(("page_zip_validate: page header\n"));
page_zip_hexdump(page_zip, sizeof *page_zip);
page_zip_hexdump(page_zip->data, page_zip_get_size(page_zip));
page_zip_hexdump(page, UNIV_PAGE_SIZE);
return(FALSE); return(FALSE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment