From 23961f575eefdcbc3efe077397220314021ec5e5 Mon Sep 17 00:00:00 2001 From: marko Date: Fri, 8 Feb 2008 10:22:47 +0000 Subject: [PATCH] branches/zip: trx_sys_doublewrite_init_or_restore_pages(): Print out the space identifier in the corruption message. --- trx/trx0sys.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trx/trx0sys.c b/trx/trx0sys.c index 3dd24ba0d14..40ad0d1fecf 100644 --- a/trx/trx0sys.c +++ b/trx/trx0sys.c @@ -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,