1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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.
This commit is contained in:
Vladislav Vaintroub
2018-07-01 13:55:38 +01:00
parent c612a1e77c
commit b71c9ae030

View File

@@ -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;
}