Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a6d5d891f9e242bad0afc4376931ee63f5421e53)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a6d5d891f9e242bad0afc4376931ee63f5421e53)
  • Date: Fri, 25 Sep 2015 14:52:21 +0000

GIT changes to master grimoire by Ladislav Hagara <hgr AT vabo.cz>:

database/sqlite/BUILD | 4 ++++
database/sqlite/CONFIGURE | 2 ++
database/sqlite/HISTORY | 3 +++
database/sqlite/PRE_SUB_DEPENDS | 1 +
database/sqlite/REPAIR^all^PRE_SUB_DEPENDS | 1 +
database/sqlite/SUB_DEPENDS | 2 ++
6 files changed, 13 insertions(+)

New commits:
commit a6d5d891f9e242bad0afc4376931ee63f5421e53
Author: Ladislav Hagara <hgr AT vabo.cz>
Commit: Ladislav Hagara <hgr AT vabo.cz>

sqlite: SQLITE_ENABLE_DBSTAT_VTAB option added

diff --git a/database/sqlite/BUILD b/database/sqlite/BUILD
index 6e12e27..97940b5 100755
--- a/database/sqlite/BUILD
+++ b/database/sqlite/BUILD
@@ -10,6 +10,10 @@ if [[ $SQLITE_ENABLE_UNLOCK == y ]]; then
CFLAGS="-DSQLITE_ENABLE_UNLOCK_NOTIFY $CFLAGS"
fi &&

+if [[ $SQLITE_ENABLE_DBSTAT_VTAB == y ]]; then
+ CFLAGS="-DSQLITE_ENABLE_DBSTAT_VTAB $CFLAGS"
+fi &&
+
LDFLAGS="-ldl $LDFLAGS" &&
CFLAGS="${CFLAGS//-ffast-math}" &&
OPTS="--enable-dynamic-extensions $SQLITE_TSAFE $OPTS" &&
diff --git a/database/sqlite/CONFIGURE b/database/sqlite/CONFIGURE
index 21c3923..3b4fee4 100755
--- a/database/sqlite/CONFIGURE
+++ b/database/sqlite/CONFIGURE
@@ -4,6 +4,8 @@ config_query SQLITE_SECURE_DELETE "Compile with
SQLITE_SECURE_DELETE?" n &&

config_query SQLITE_ENABLE_UNLOCK "Compile with SQLITE_ENABLE_UNLOCK_NOTIFY"
n &&

+config_query SQLITE_ENABLE_DBSTAT_VTAB "Compile with
SQLITE_ENABLE_DBSTAT_VTAB" n &&
+
config_query_option SQLITE_TSAFE "Build thread-safe SQLite?" y \
"--enable-threadsafe" \
"--disable-threadsafe"
diff --git a/database/sqlite/HISTORY b/database/sqlite/HISTORY
index 92aab8b..010d1a5 100644
--- a/database/sqlite/HISTORY
+++ b/database/sqlite/HISTORY
@@ -1,3 +1,6 @@
+2015-09-25 Ladislav Hagara <hgr AT vabo.cz>
+ * BUILD, CONFIGURE, *_DEPENDS: SQLITE_ENABLE_DBSTAT_VTAB option added
+
2015-08-01 Treeve Jelbert <treeve AT sourcemage.org>
*DETAILS: version 3.8.11.1

diff --git a/database/sqlite/PRE_SUB_DEPENDS b/database/sqlite/PRE_SUB_DEPENDS
index b6d23df..b1b5059 100755
--- a/database/sqlite/PRE_SUB_DEPENDS
+++ b/database/sqlite/PRE_SUB_DEPENDS
@@ -3,6 +3,7 @@ case $THIS_SUB_DEPENDS in
TSAFE) if [[ $SQLITE_TSAFE != "--enable-threadsafe" ]]; then return 1;
fi ;;
SECURE_DELETE) if [[ $SQLITE_SECURE_DELETE != "y" ]]; then return 1; fi ;;
ENABLE_UNLOCK_NOTIFY) if [[ $SQLITE_ENABLE_UNLOCK != "y" ]]; then return 1;
fi ;;
+ENABLE_DBSTAT_VTAB) if [[ $SQLITE_ENABLE_DBSTAT_VTAB != "y" ]]; then return
1; fi ;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
return 1;;
esac
diff --git a/database/sqlite/REPAIR^all^PRE_SUB_DEPENDS
b/database/sqlite/REPAIR^all^PRE_SUB_DEPENDS
index b6d23df..b1b5059 100755
--- a/database/sqlite/REPAIR^all^PRE_SUB_DEPENDS
+++ b/database/sqlite/REPAIR^all^PRE_SUB_DEPENDS
@@ -3,6 +3,7 @@ case $THIS_SUB_DEPENDS in
TSAFE) if [[ $SQLITE_TSAFE != "--enable-threadsafe" ]]; then return 1;
fi ;;
SECURE_DELETE) if [[ $SQLITE_SECURE_DELETE != "y" ]]; then return 1; fi ;;
ENABLE_UNLOCK_NOTIFY) if [[ $SQLITE_ENABLE_UNLOCK != "y" ]]; then return 1;
fi ;;
+ENABLE_DBSTAT_VTAB) if [[ $SQLITE_ENABLE_DBSTAT_VTAB != "y" ]]; then return
1; fi ;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
return 1;;
esac
diff --git a/database/sqlite/SUB_DEPENDS b/database/sqlite/SUB_DEPENDS
index f343e17..933b937 100755
--- a/database/sqlite/SUB_DEPENDS
+++ b/database/sqlite/SUB_DEPENDS
@@ -9,6 +9,8 @@ SECURE_DELETE) message "SECURE_DELETE requested, forcing it"
&&
SQLITE_SECURE_DELETE=y ;;
ENABLE_UNLOCK_NOTIFY) message "ENABLE UNLOCK NOTIFY requested, forcing it" &&
SQLITE_ENABLE_UNLOCK=y ;;
+ENABLE_DBSTAT_VTAB) message "ENABLE DBSTAT VTAB requested, forcing it" &&
+ SQLITE_ENABLE_DBSTAT_VTAB=y ;;
*) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
return 1;;
esac



  • [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (a6d5d891f9e242bad0afc4376931ee63f5421e53), Ladislav Hagara, 09/25/2015

Archive powered by MHonArc 2.6.24.

Top of Page