From 7b83438e9c64a3937c391c6175a536b9e63dcba2 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 5 Feb 2018 15:30:34 +0100 Subject: [PATCH] fix the ifdef condition for not trying to create a stretch db --- src/rcldb/rcldb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcldb/rcldb.cpp b/src/rcldb/rcldb.cpp index 76a86c19..eb521131 100644 --- a/src/rcldb/rcldb.cpp +++ b/src/rcldb/rcldb.cpp @@ -298,7 +298,7 @@ void Db::Native::openWrite(const string& dir, Db::OpenMode mode) xwdb = Xapian::WritableDatabase(stub, action); m_storetext = false; } -#elif (! XAPIAN_AT_LEAST(1,3,0)) || XAPIAN_AT_LEAST(1,5,0) +#else // Old Xapian (chert only) or newer (no chert). Use the // default index backend and let the user decide of the // abstract generation method. The configured default is to