summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-14 09:03:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-14 09:03:46 +0200
commit90ffbeecddf914ce9d9591221b9333547d699f74 (patch)
tree89337edd486c0166ad270eff92df1c299d46531a
parentea6e5d22a833db0f39ac1bbbbf9331624a4db36c (diff)
Enable few more features by default
-rw-r--r--TODO1
-rw-r--r--buildfile5
2 files changed, 6 insertions, 0 deletions
diff --git a/TODO b/TODO
index ebbbd39..5f76c11 100644
--- a/TODO
+++ b/TODO
@@ -1,3 +1,4 @@
+@@ Enable session once missing SQLITE_API is fixed. Also enable in sqlite3.
@@ INSTALL
?? Post-process sqlite3.h to include export code.
@@ There is sqlite3.pc.in.
diff --git a/buildfile b/buildfile
index 37cd4d2..f1a9ff7 100644
--- a/buildfile
+++ b/buildfile
@@ -13,6 +13,10 @@ lib{sqlite3}: {h c}{sqlite3} h{sqlite3ext}
# that it is possible to override the defaults by specifying them as =0 (it's
# also the reason we use cc.* instead of c.*, the former comes first).
#
+# PREUPDATE_HOOK is required by SESSION
+#
+# -DSQLITE_ENABLE_SESSION=1 removed due to bug in 3.14.1.
+#
cc.poptions =+ \
-DSQLITE_THREADSAFE=1 \
-DSQLITE_ENABLE_FTS4=1 \
@@ -23,6 +27,7 @@ cc.poptions =+ \
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-DSQLITE_ENABLE_LOAD_EXTENSION=1 \
+-DSQLITE_ENABLE_PREUPDATE_HOOK=1 \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_FTS3_PARENTHESIS=1