• Vladislav Vaintroub's avatar
    MDEV-13941 followup. · ff2d9e12
    Vladislav Vaintroub authored
    Try to fix fragmentation (unsparse files), for pre-existing
    installations.
    
    Unsparse the innodb file, when it needs to be extended, unless compression
    is used. For Win7/2008R2 unsparse  does not work (as documented in MSDN),
    therefore for sparse files in older Windows, file extension will be done
    via writing zeroes at the end of file.
    ff2d9e12
os0file.cc 178 KB