diff options
author | Calvin Sun <calvin.sun@oracle.com> | 2010-10-28 00:10:28 -0500 |
---|---|---|
committer | Calvin Sun <calvin.sun@oracle.com> | 2010-10-28 00:10:28 -0500 |
commit | 460ad14e04d022ab9ccd122af7bcbc4a0030f67a (patch) | |
tree | c7695713463676aa8e430088ce62337feffe83bd /mysql-test/t/truncate_coverage.test | |
parent | 16feea410975e17c3cf24f8af92a3f32e8c24ba1 (diff) | |
download | mariadb-git-460ad14e04d022ab9ccd122af7bcbc4a0030f67a.tar.gz |
Bug#52062: Compiler warning in os0file.c on windows 64-bit
On Windows, the parameter for number of bytes passed into WriteFile()
and ReadFile() is DWORD. Casting is needed to silence the warning on
64-bit Windows.
Also, adding several asserts to ensure the variable for number of bytes
is no more than 32 bits, even on 64-bit Windows.
This is for InnoDB Plugin.
rb://415
Approved by: Inaam
Diffstat (limited to 'mysql-test/t/truncate_coverage.test')
0 files changed, 0 insertions, 0 deletions