diff options
| author | Michael J Gruber <git@grubix.eu> | 2022-04-15 18:23:46 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-04-15 14:17:31 -0300 |
| commit | 785f9d656d547a325c978eee51cf7e52ed2fe625 (patch) | |
| tree | 146030e902e7a80a67361cab205824641ef581b0 /lib/database-private.h | |
| parent | 78aaef9a0b6f106e648367b18b46b48d885f9213 (diff) | |
fix build without sfsexp
a1d139de ("lib: add sexp: prefix to Xapian (infix) query parser.",
2022-04-09) introduced sfsexp infix queries. This requires the infix
preprocessor to be built in in a way which does not require sfsexp when
notmuch is built without it.
Make the preprocessor throw a Xapian error in this case (and fix the
build).
Signed-off-by: Michael J Gruber <git@grubix.eu>
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index 657b1aa1..419b9fe6 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -354,10 +354,6 @@ _notmuch_query_string_to_xapian_query (notmuch_database_t *notmuch, std::string query_string, Xapian::Query &output, std::string &msg); -/* parse-sexp.cc */ -notmuch_status_t -_notmuch_sexp_string_to_xapian_query (notmuch_database_t *notmuch, const char *querystr, - Xapian::Query &output); notmuch_status_t _notmuch_query_expand (notmuch_database_t *notmuch, const char *field, Xapian::Query subquery, |
