aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/json1.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-10-08 19:29:18 +0000
committerdrh <drh@noemail.net>2015-10-08 19:29:18 +0000
commit50065656f7d038d8b1796edb83ecaa5347da5a1d (patch)
treed2909fb64acc6a0187d2c4b4941b92222c125cb6 /ext/misc/json1.c
parentd7fd6aa4ba568e33e9879f94a8542fba0d7be828 (diff)
downloadsqlite-50065656f7d038d8b1796edb83ecaa5347da5a1d.tar.gz
sqlite-50065656f7d038d8b1796edb83ecaa5347da5a1d.zip
First attempt to add json1 and fts5 to the amalgamation. This check-in does
not compile. FossilOrigin-Name: d820a1bd1b8dd702d1b3a099af393530cc5a5d51
Diffstat (limited to 'ext/misc/json1.c')
-rw-r--r--ext/misc/json1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/misc/json1.c b/ext/misc/json1.c
index 77857f544..f6fb2eafe 100644
--- a/ext/misc/json1.c
+++ b/ext/misc/json1.c
@@ -21,6 +21,7 @@
** This implementation parses JSON text at 250 MB/s, so it is hard to see
** how JSONB might improve on that.)
*/
+#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_JSON1)
#if !defined(_SQLITEINT_H_)
#include "sqlite3ext.h"
#endif
@@ -2007,3 +2008,4 @@ int sqlite3_json_init(
(void)pzErrMsg; /* Unused parameter */
return sqlite3Json1Init(db);
}
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_JSON1) */