• unknown's avatar
    Fix for failures of ma_control_file-t, ma_test_loghandler_purge-t, · 30573786
    unknown authored
    ma_test_loghandler_pagecache-t on Windows.
    
    
    storage/maria/ma_control_file.c:
      stat() is unreliable on Windows (does not reflect process' own writes)
    storage/maria/ma_loghandler.c:
      translog_set_lsn_for_files() didn't close its file descriptor; it was
      a real problem as non-closed files could not be purged.
      Same for translog_truncate_log() in case of error.
    storage/maria/unittest/ma_test_loghandler_pagecache-t.c:
      stat() is unreliable on Windows (does not reflect process' own writes)
    30573786
ma_loghandler.c 275 KB