Commit b71c9ae0 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

amend fix for MDEV-16596 - do not use CREATE_NEW flag when reopening redo log file.

use OPEN_ALWAYS instead, since we know file already exist.
parent c612a1e7
......@@ -4326,6 +4326,7 @@ os_file_create_func(
&& !unbuffered_io_possible(file, OS_FILE_LOG_BLOCK_SIZE)) {
ut_a(CloseHandle(file));
attributes &= ~FILE_FLAG_NO_BUFFERING;
create_flag = OPEN_ALWAYS;
continue;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment