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
commit7ce482fce161d9c1a53c8d56966f352ffefcebbf (patch)
tree9b105c673b0de0d6786b13ab3843f3af4e1d3b16 /innobase
parent5a6eb6ef3b5b9a871c5267dad205089e43fc6118 (diff)
downloadmariadb-git-7ce482fce161d9c1a53c8d56966f352ffefcebbf.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: