-
Committer:
Vladislav Vaintroub
-
Date:
2012-12-05 23:37:06 UTC
-
mto:
(2643.137.36 maria-5.1)
-
mto:
This revision was merged to the branch mainline in
revision
3193.
-
Revision ID:
wlad@montyprogram.com-20121205233706-xh1jipis0nkdfe3s
MDEV-3918: myisamchk bogus error for files larger than 4GB.
The failure is caused by failing stat() call . C Runtime function stat() uses old struct with 32bit st_size member,
and since Visual Studio 2010 , it returns an error on st_size overflow (i.e on files larger than 4GB)
Fix replaces stat() by my_stat(), the later is backed by 64bit-able stat64().