]> git.cworth.org Git - notmuch/commitdiff
lib: generate actual Xapian query for "*" and ""
authorDavid Bremner <david@tethera.net>
Tue, 24 Aug 2021 15:17:30 +0000 (08:17 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 5 Sep 2021 00:07:19 +0000 (17:07 -0700)
The previous code had the somewhat bizarre effect that the (notmuch
specific) query string was "*" (interpreted as MatchAll) and the
allegedly parsed xapian_query was "MatchNothing".

This commit also reduces code duplication.


No differences found