Commit 2d3c55cd authored by unknown's avatar unknown

os0file.c:

  Fix compiler error on those OS X platforms where Apple's special file flush trick with fcntl() is not defined


innobase/os/os0file.c:
  Fix compiler error on those OS X platforms where Apple's special file flush trick with fcntl() is not defined
parent 815f6222
...@@ -1763,7 +1763,7 @@ os_file_flush( ...@@ -1763,7 +1763,7 @@ os_file_flush(
#else #else
int ret; int ret;
#ifdef HAVE_DARWIN_THREADS #if defined(HAVE_DARWIN_THREADS) && defined(F_FULLFSYNC)
/* Apple has disabled fsync() for internal disk drives in OS X. That /* Apple has disabled fsync() for internal disk drives in OS X. That
caused corruption for a user when he tested a power outage. Let us in caused corruption for a user when he tested a power outage. Let us in
OS X use a nonstandard flush method recommended by an Apple OS X use a nonstandard flush method recommended by an Apple
......
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