Commit 4ddb9dea authored by Jan Lindström's avatar Jan Lindström

MDEV-9678: Data Directory bug

MDEV-9833: Log files are opened using O_DIRECT causing problems if block size != 512

Fix typo.
parent 9f5b2856
......@@ -1561,7 +1561,7 @@ os_file_set_nocache_if_needed(os_file_t file, const char* name,
}
if (srv_unix_file_flush_method == SRV_UNIX_ALL_O_DIRECT
|| (type == OS_LOG_FILE
|| (type == OS_DATA_FILE
&& (srv_unix_file_flush_method == SRV_UNIX_O_DIRECT
|| (srv_unix_file_flush_method == SRV_UNIX_O_DIRECT_NO_FSYNC)))) {
os_file_set_nocache(file, name, mode_str);
......
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