diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-06-08 11:18:56 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-06-08 11:18:56 +0200 |
commit | cb6109cde188b5e018f2169e43bb08ac2bc3e68f (patch) | |
tree | e99e483f95620bed1efa3089b9c164a953afb077 /config.h.cmake | |
parent | 8efc63ba5d32b77501226921ee503b9ae513a365 (diff) | |
download | mariadb-git-cb6109cde188b5e018f2169e43bb08ac2bc3e68f.tar.gz |
MDEV-329: MariaDB 5.5 does not use fdatasync().
The --debug-no-sync incorrectly defaulted to ON, disabling sync calls
by default which can loose data or cause corruption. Also, the code
used fsync() instead of the sometimes more efficient fdatasync().
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index d03ad91189c..5f1614993c3 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -150,6 +150,7 @@ #cmakedefine HAVE_FCNTL 1 #cmakedefine HAVE_FCONVERT 1 #cmakedefine HAVE_FDATASYNC 1 +#cmakedefine HAVE_DECL_FDATASYNC 1 #cmakedefine HAVE_FESETROUND 1 #cmakedefine HAVE_FINITE 1 #cmakedefine HAVE_FP_EXCEPT 1 |