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(
fprintf(stderr,
"InnoDB: Warning: database page"
" corruption or a failed\n"
"InnoDB: file read of page %lu.\n",
(ulong) page_no);
fprintf(stderr,
"InnoDB: file read of"
" space %lu page %lu.\n"
"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)) {
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