Commit 59a266a9 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-17380: fix incorrect #ifdef

parent c477623f
......@@ -72,8 +72,12 @@ Created 10/21/1995 Heikki Tuuri
#ifdef _WIN32
#include <winioctl.h>
#else
// my_test_if_atomic_write()
#include <my_sys.h>
#endif
/** Insert buffer segment id */
static const ulint IO_IBUF_SEGMENT = 0;
......@@ -7661,7 +7665,7 @@ void fil_node_t::find_metadata(os_file_t file
if (!space->atomic_write_supported) {
space->atomic_write_supported = atomic_write
&& srv_use_atomic_writes
#ifdef _WIN32
#ifndef _WIN32
&& my_test_if_atomic_write(file,
space->physical_size())
#else
......
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