Commit 19362856 authored by unknown's avatar unknown
Browse files

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
parent b42ab125
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2010,6 +2010,11 @@ os_file_read(

		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: