summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-07-27 19:14:50 +0300
committerheikki@hundin.mysql.fi <>2004-07-27 19:14:50 +0300
commitfb0b02415c77298a05530400bf1d191d8ffd3107 (patch)
tree229f8fae30532290635fa77510dffe25e491b11c /innobase/os
parent9f4e72ecd10c434ae5f6036aa45ddd52a2327d80 (diff)
downloadmariadb-git-fb0b02415c77298a05530400bf1d191d8ffd3107.tar.gz
buf0flu.c, os0file.c:
Add more diagnostic code to determine when an lsn field gets corrupt; tracks a crash reported from one Itanium computer
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c
index 8cb2b171328..a70333ba6ab 100644
--- a/innobase/os/os0file.c
+++ b/innobase/os/os0file.c
@@ -2736,6 +2736,9 @@ consecutive_loop:
ut_print_timestamp(stderr);
fprintf(stderr,
" InnoDB: ERROR: The page to be written seems corrupt!\n");
+ fprintf(stderr,
+"InnoDB: Writing a block of %lu bytes, currently writing at offset %lu\n",
+ (ulong)total_len, (ulong)len2);
buf_page_print(combined_buf + len2);
fprintf(stderr,
"InnoDB: ERROR: The page to be written seems corrupt!\n");