summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--innobase/os/os0file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c
index 1040283f85e..6b734bba965 100644
--- a/innobase/os/os0file.c
+++ b/innobase/os/os0file.c
@@ -2010,6 +2010,11 @@ try_again:
return(TRUE);
}
+
+ fprintf(stderr,
+"InnoDB: Error: tried to read %lu bytes at offset %lu %lu.\n"
+"InnoDB: Was only able to read %ld.\n", (ulong)n, (ulong)offset_high,
+ (ulong)offset, (long)ret);
#endif
#ifdef __WIN__
error_handling: