diff options
author | Calvin Sun <calvin.sun@oracle.com> | 2010-10-27 23:18:59 -0500 |
---|---|---|
committer | Calvin Sun <calvin.sun@oracle.com> | 2010-10-27 23:18:59 -0500 |
commit | 16feea410975e17c3cf24f8af92a3f32e8c24ba1 (patch) | |
tree | 559bda7002402eb6a71ca9de6a4674e2d302d859 /mysql-test/t/truncate_coverage.test | |
parent | 4bf273c8f19b619f36e7f8cb1188c08cbce8a196 (diff) | |
download | mariadb-git-16feea410975e17c3cf24f8af92a3f32e8c24ba1.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 built-in InnoDB.
rb://415
Approved by: Inaam
Diffstat (limited to 'mysql-test/t/truncate_coverage.test')
0 files changed, 0 insertions, 0 deletions