summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2012-06-08 11:18:56 +0200
committerunknown <knielsen@knielsen-hq.org>2012-06-08 11:18:56 +0200
commitcb6109cde188b5e018f2169e43bb08ac2bc3e68f (patch)
treee99e483f95620bed1efa3089b9c164a953afb077 /config.h.cmake
parent8efc63ba5d32b77501226921ee503b9ae513a365 (diff)
downloadmariadb-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.cmake1
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