mariadb/storage/innobase/os
Vladislav Vaintroub 97df230aed MDEV-14115 : Do not use lpNumberOfBytesRead/Written params in
ReadFile/WriteFile operations.

Innodb opens files with FILE_FLAG_OVERLAPPED. lpNumberOfBytesRead/Written
are documented to be potentially inaccurate in this case,
(possibly even if async operations complete synchronously?)

The fix is to always pass NULL for the correspondng parameters,
as recommended by  MSDN. Read the actual counts with
GetQueuedCompletionStatus() or GetOverlappedResult().
2017-10-27 23:42:02 +00:00
..
os0event.cc Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
os0file.cc MDEV-14115 : Do not use lpNumberOfBytesRead/Written params in 2017-10-27 23:42:02 +00:00
os0proc.cc Fix some integer type mismatch. 2017-05-10 12:45:46 +03:00
os0thread.cc Add ATTRIBUTE_NORETURN and ATTRIBUTE_COLD 2017-08-31 09:30:55 +03:00