From 9c015b8592753e47fb0ae7bc57c0e3e91c4eb6f9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 9 Jun 2012 11:21:12 +0000 Subject: Ths SYNCHRONOUS = off optimisation fails on my Mac OSX. Take it out until I can test properly for this feature. --- mandocdb.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit