From 90ffbeecddf914ce9d9591221b9333547d699f74 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 14 Aug 2016 09:03:46 +0200 Subject: Enable few more features by default --- TODO | 1 + buildfile | 5 +++++ 2 files changed, 6 insertions(+) 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 -- cgit v1.1