Commit 2d3c55cd authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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