Library Changes
---------------
+Work around Xapian bug with `get_mset(0,0, x)`.
+
+ This causes aborts in `_notmuch_query_count_documents` on
+ e.g. Fedora 28. The underlying bug is fixed in Xapian commit
+ f92e2a936c1592, and will be fixed in Xapian 1.4.6.
+
Make thread indexing more robust against reference loops
Choose a thread root by date in case of reference loops. Fix a
# this file should be kept in sync with ../../../version
-__VERSION__ = '0.26.1'
+__VERSION__ = '0.26.2'
SOVERSION = '5'
+notmuch (0.26.2-1) UNRELEASED; urgency=medium
+
+ * Break reference loops when indexing, fixes INTERNAL_ERROR in "notmuch show"
+ * Don't call get_mset(0,0,X), fixes crash on some gcc8 using distros
+
+ -- David Bremner <bremner@debian.org> Thu, 26 Apr 2018 22:41:37 -0300
+
notmuch (0.26.1-1) unstable; urgency=medium
* Bump LIBRARY_MINOR_VERSION to 1, for new functions in 0.26
/*
* Set the checkatleast parameter to the number of documents
* in the database to make get_matches_estimated() exact.
- * Set the max parameter to 0 to avoid fetching documents we will discard.
+ * Set the max parameter to 1 to avoid fetching documents we will discard.
*/
- mset = enquire.get_mset (0, 0,
+ mset = enquire.get_mset (0, 1,
notmuch->xapian_db->get_doccount ());
count = mset.get_matches_estimated();