summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-10-19 14:44:14 +0300
committerunknown <heikki@hundin.mysql.fi>2004-10-19 14:44:14 +0300
commit193628565bc2ed093030b5bf9c33ab27d0cabdd8 (patch)
tree9b105c673b0de0d6786b13ab3843f3af4e1d3b16 /innobase
parentb42ab12527094c0aac220d1948fc0d411e50f108 (diff)
downloadmariadb-git-193628565bc2ed093030b5bf9c33ab27d0cabdd8.tar.gz
os0file.c:
InnoDB: print info about how many bytes we were able to read if a file read is not able to read as many bytes as we requested innobase/os/os0file.c: InnoDB: print info about how many bytes we were able to read if a file read is not able to read as many bytes as we requested
Diffstat (limited to 'innobase')
-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: