• aivanov@mysql.com's avatar
    Fixing BUG#17719 "Delete of binlog files fails on Windows" · 7dc30c68
    aivanov@mysql.com authored
     and BUG#19208 "Test 'rpl000017' hangs on Windows".
     Both bugs are caused by attempting to delete an opened
     file and to create immediatedly a new one with the same
     name. On Windows it can be supported only on NT-platforms
     (by using FILE_SHARE_DELETE mode and with renaming the
     file before deletion). Because deleting not-closed files
     is not supported on all platforms (e.g. Win 98|ME) this
     is to be considered harmful and should be eliminated by
     a "code redesign".
    7dc30c68
my_delete.c 2.75 KB