diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-01-10 15:26:33 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-01-10 15:26:33 +0200 |
commit | 2d3c55cd7be8ad9bd2647c3cd8484364d4aefc10 (patch) | |
tree | 78368510869e2d38ca9a561f6d25720835d3e2a5 /innobase | |
parent | 815f62223aa9892b19916724ca76514cb1d899b2 (diff) | |
download | mariadb-git-2d3c55cd7be8ad9bd2647c3cd8484364d4aefc10.tar.gz |
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
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index f02b81b8fd8..60760d1f8b8 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -1763,7 +1763,7 @@ os_file_flush( #else 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 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 |