• unknown's avatar
    Bug#26379 - Combination of FLUSH TABLE and REPAIR TABLE · 68321feb
    unknown authored
                corrupts a MERGE table
    
    Post-pushbuild fix. The merge test failed on Windows.
    The MoveFile() function returned the error code
    ERROR_ACCESS_DENIED.
    
    The fix is to use a different name for the file to be
    deleted. This is the same trick as we use for the error
    code ERROR_ALREADY_EXISTS.
    
    Added ERROR_ACCESS_DENIED to the list of error codes that
    require to change the name of the file to be deleted.
    
    
    mysys/my_delete.c:
      Bug#26379 - Combination of FLUSH TABLE and REPAIR TABLE
                  corrupts a MERGE table
      Added ERROR_ACCESS_DENIED to the list of error codes that
      require to change the name of the file to be deleted.
    68321feb
my_delete.c 2.79 KB