summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-10-19 14:44:14 +0300
committerheikki@hundin.mysql.fi <>2004-10-19 14:44:14 +0300
commit2fd67321e962243b73f18e27931ff7aed325f602 (patch)
tree9b105c673b0de0d6786b13ab3843f3af4e1d3b16 /innobase
parent665e22eeaec96d1c335982f155c81d765123258f (diff)
downloadmariadb-git-2fd67321e962243b73f18e27931ff7aed325f602.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
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: