• Vladislav Vaintroub's avatar
    MDEV-3918: myisamchk bogus error for files larger than 4GB. · c4b35f92
    Vladislav Vaintroub authored
    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().
    c4b35f92
my_redel.c 4.48 KB