mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
os0file.c:
Fix compiler error on those OS X platforms where Apple's special file flush trick with fcntl() is not defined
This commit is contained in:
parent
4ddd79fb69
commit
59b9a5289a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue