[tracker] build: Add SQLite 3.8.1 to list of bad SQLite versions
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] build: Add SQLite 3.8.1 to list of bad SQLite versions
- Date: Thu, 28 Nov 2013 12:31:41 +0000 (UTC)
commit 5d646ed3d5be719a74e5043b8b4a7243ecdb2fa9
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Thu Nov 28 12:28:10 2013 +0000
build: Add SQLite 3.8.1 to list of bad SQLite versions
There is a bug in SQLite version 3.8.1 which causes incorrect query
results. See the following links for more details:
https://mail.gnome.org/archives/tracker-list/2013-November/msg00021.html
https://bugzilla.redhat.com/show_bug.cgi?id=1034714
The bug is fixed in SQLite master already so version 3.8.2 should be
fine to use.
configure.ac | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7ae399b..cc62f55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -659,10 +659,14 @@ if test "x$ax_cv_sqlite_threadsafe" != "xyes"; then
fi
# Make sure we're not using versions which cause problems.
+#
# Avoid versions:
# 3.7.10 - 3.7.13
-# For details, see:
-# https://mail.gnome.org/archives/tracker-list/2012-October/msg00028.html
+# 3.8.1
+#
+# For details see:
+# https://mail.gnome.org/archives/tracker-list/2012-October/msg00028.html
+# https://mail.gnome.org/archives/tracker-list/2013-November/msg00021.html
AC_MSG_CHECKING(whether SQLite3 version is safe)
PKG_CHECK_EXISTS([sqlite3 <= 3.7.9], sqlite_safe=yes, sqlite_safe=no)
@@ -670,6 +674,10 @@ if test "x$sqlite_safe" != "xyes"; then
PKG_CHECK_EXISTS([sqlite3 >= 3.7.14], sqlite_safe=yes, sqlite_safe=no)
fi
+if test "x$sqlite_safe" == "xyes"; then
+ PKG_CHECK_EXISTS([sqlite3 = 3.8.1], sqlite_safe=no, sqlite_safe=yes)
+fi
+
if test "x$sqlite_safe" != "xyes"; then
AC_MSG_RESULT(no)
else
@@ -2652,11 +2660,13 @@ Miscellaneous:
# Any warnings we need to issue...
if test "x$sqlite_safe" = "xno"; then
+sqlite_version=$($PKG_CONFIG --modversion sqlite3)
echo "
WARNING:
- SQLite3 version is not safe. For details see:
+ SQLite3 version $sqlite_version is not safe. For details see:
https://mail.gnome.org/archives/tracker-list/2012-October/msg00028.html
- Unsafe versions are 3.7.10 to 3.7.13.
+ https://mail.gnome.org/archives/tracker-list/2013-November/msg00021.html
+ Unsafe versions are 3.7.10 to 3.7.13, and 3.8.1.
"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]