]> git.notmuchmail.org Git - notmuch/commit
lib: fix an exclude bug
authorMark Walters <markwalters1009@gmail.com>
Wed, 14 Mar 2012 12:26:54 +0000 (12:26 +0000)
committerDavid Bremner <bremner@debian.org>
Sun, 18 Mar 2012 12:14:23 +0000 (09:14 -0300)
commitc695534df5830d0681f451bd213e75758b532e31
tree0c3aee2c22c76c88253296692802d33ff8a31e45
parent1351aafac1e8c77e6ee3d2f41ac7445d0e07238d
lib: fix an exclude bug

When the exclude tags contain a tag that does not occur anywhere in
the Xapian database the exclusion fails. We modify the way the query
is constructed to `work around' this. (In fact the new code is cleaner
anyway.)

It also seems to fix another exclusion failure bug reported by
jrollins but we have not yet worked out why it helps in that case.
lib/query.cc