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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user