diff --git a/src/rcldb/rclabsfromtext.cpp b/src/rcldb/rclabsfromtext.cpp index e7640df9..b093c46c 100644 --- a/src/rcldb/rclabsfromtext.cpp +++ b/src/rcldb/rclabsfromtext.cpp @@ -412,7 +412,7 @@ int Query::Native::abstractFromText( inslen += endhit.size(); } #endif - LOGDEB("=== FRAGMENT: Coef: " << entry.coef << ": " << frag << endl); + LOGDEB0("=== FRAGMENT: Coef: " << entry.coef << ": " << frag << endl); int page = 0; if (vpbreaks.size() > 1) { page = ndb->getPageNumberForPosition(vpbreaks, entry.hitpos); diff --git a/src/rcldb/rcldb_p.h b/src/rcldb/rcldb_p.h index 4484c1e4..19b8e569 100644 --- a/src/rcldb/rcldb_p.h +++ b/src/rcldb/rcldb_p.h @@ -21,6 +21,7 @@ #include "autoconfig.h" #include +#include #include @@ -51,9 +52,9 @@ public: // available on the caller site. // Take some care to avoid sharing string data (if string impl is cow) DbUpdTask(Op _op, const string& ud, const string& un, - Xapian::Document *d, size_t tl, string& rztxt - ) : op(_op), udi(ud.begin(), ud.end()), uniterm(un.begin(), un.end()), - doc(d), txtlen(tl) { + Xapian::Document *d, size_t tl, string& rztxt) + : op(_op), udi(ud.begin(), ud.end()), uniterm(un.begin(), un.end()), + doc(d), txtlen(tl) { rawztext.swap(rztxt); } // Udi and uniterm equivalently designate the doc