Commit 03af773b authored by unknown's avatar unknown

os0file.c:

  SHOW INNODB STATUS always showed average bytes read as 0 in Unix


innobase/os/os0file.c:
  SHOW INNODB STATUS always showed average bytes read as 0 in Unix
parent 25b2d475
...@@ -1034,6 +1034,8 @@ try_again: ...@@ -1034,6 +1034,8 @@ try_again:
ibool retry; ibool retry;
ssize_t ret; ssize_t ret;
os_bytes_read_since_printout += n;
try_again: try_again:
ret = os_file_pread(file, buf, n, offset, offset_high); ret = os_file_pread(file, buf, n, offset, offset_high);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment