diff options
author | unknown <heikki@hundin.mysql.fi> | 2004-10-19 14:44:14 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2004-10-19 14:44:14 +0300 |
commit | 7ce482fce161d9c1a53c8d56966f352ffefcebbf (patch) | |
tree | 9b105c673b0de0d6786b13ab3843f3af4e1d3b16 /innobase | |
parent | 5a6eb6ef3b5b9a871c5267dad205089e43fc6118 (diff) | |
download | mariadb-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.c | 5 |
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: |