aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2012-06-09 11:21:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2012-06-09 11:21:12 +0000
commit47799797b6c4ee3818464813ecb7b35db229e49c (patch)
tree70b49e831fe351ba60abebfd13c7442aa7b669e5 /mandocdb.c
parentc2e6abd2f7488f28303491249ecc436ea04b188a (diff)
downloadmandoc-47799797b6c4ee3818464813ecb7b35db229e49c.tar.gz
mandoc-47799797b6c4ee3818464813ecb7b35db229e49c.tar.zst
mandoc-47799797b6c4ee3818464813ecb7b35db229e49c.zip
Ths SYNCHRONOUS = off optimisation fails on my Mac OSX. Take it out until
I can test properly for this feature.
Diffstat (limited to 'mandocdb.c')
-rw-r--r--mandocdb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 78aefad4..fb36cc1d 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1,4 +1,4 @@
-/* $Id: mandocdb.c,v 1.53 2012/06/09 11:00:13 kristaps Exp $ */
+/* $Id: mandocdb.c,v 1.54 2012/06/09 11:21:12 kristaps Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
@@ -509,7 +509,9 @@ main(int argc, char *argv[])
* turn off synchronous mode for much better
* performance.
*/
+#ifndef __APPLE__
SQL_EXEC("PRAGMA synchronous = OFF");
+#endif
if (0 == ofmerge(mc, mp, dirs.paths[j]))
goto out;