summaryrefslogtreecommitdiffstats
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
commit9c015b8592753e47fb0ae7bc57c0e3e91c4eb6f9 (patch)
tree16b8d82c4f2119940ea1dd124d92494ab9441d52 /mandocdb.c
parent2e8c56dd976297ecf5a8274133f18f7311df1d4c (diff)
downloadmandoc-9c015b8592753e47fb0ae7bc57c0e3e91c4eb6f9.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 8fad980b..cc3f4940 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -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;