diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-09 11:21:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-09 11:21:12 +0000 |
commit | 47799797b6c4ee3818464813ecb7b35db229e49c (patch) | |
tree | 70b49e831fe351ba60abebfd13c7442aa7b669e5 | |
parent | c2e6abd2f7488f28303491249ecc436ea04b188a (diff) | |
download | mandoc-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.
-rw-r--r-- | mandocdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |