* mdocml: If an old SQLite version doesn't provide SQLITE_DETERMINISTIC,
@ 2014-08-05 12:34 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-08-05 12:34 UTC (permalink / raw)
To: source
Log Message:
-----------
If an old SQLite version doesn't provide SQLITE_DETERMINISTIC,
simply ignore it, as using it is merely an optimization.
Issue noticed by kristaps@.
Modified Files:
--------------
mdocml:
mansearch.c
Revision Data
-------------
Index: mansearch.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mansearch.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -Lmansearch.c -Lmansearch.c -u -p -r1.39 -r1.40
--- mansearch.c
+++ mansearch.c
@@ -38,6 +38,9 @@
#include "compat_ohash.h"
#endif
#include <sqlite3.h>
+#ifndef SQLITE_DETERMINISTIC
+#define SQLITE_DETERMINISTIC 0
+#endif
#include "mandoc.h"
#include "mandoc_aux.h"
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-05 12:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 12:34 mdocml: If an old SQLite version doesn't provide SQLITE_DETERMINISTIC, schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).