Commit 23961f57 authored by marko's avatar marko

branches/zip: trx_sys_doublewrite_init_or_restore_pages(): Print out the

space identifier in the corruption message.
parent 044e405d
...@@ -492,11 +492,11 @@ trx_sys_doublewrite_init_or_restore_pages( ...@@ -492,11 +492,11 @@ trx_sys_doublewrite_init_or_restore_pages(
fprintf(stderr, fprintf(stderr,
"InnoDB: Warning: database page" "InnoDB: Warning: database page"
" corruption or a failed\n" " corruption or a failed\n"
"InnoDB: file read of page %lu.\n", "InnoDB: file read of"
(ulong) page_no); " space %lu page %lu.\n"
fprintf(stderr,
"InnoDB: Trying to recover it from" "InnoDB: Trying to recover it from"
" the doublewrite buffer.\n"); " the doublewrite buffer.\n",
(ulong) space_id, (ulong) page_no);
if (buf_page_is_corrupted(page, zip_size)) { if (buf_page_is_corrupted(page, zip_size)) {
fprintf(stderr, fprintf(stderr,
......
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