opt: remove log

This commit is contained in:
YiFang Xiao 2023-11-10 17:47:04 +08:00
parent 82d7f1cf76
commit 8c8f40cb53

View file

@ -31,10 +31,8 @@ bool ftsIndexIsOldOrBad( BtreeIndexing::BtreeDictionary * dict )
auto document = db.get_document( docid ); auto document = db.get_document( docid );
string const lastDoc = document.get_data(); string const lastDoc = document.get_data();
bool const notFinished = lastDoc != finish_mark; return lastDoc != finish_mark;
qDebug() << dict->ftsIndexName().c_str() << document.get_data().c_str() << notFinished;
//use a special document to mark the end of the index. //use a special document to mark the end of the index.
return notFinished;
} }
catch ( Xapian::Error & e ) { catch ( Xapian::Error & e ) {
qWarning() << e.get_description().c_str(); qWarning() << e.get_description().c_str();