Skip to content

Commit

Permalink
opt: remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
YiFang Xiao committed Nov 10, 2023
1 parent 82d7f1c commit 8c8f40c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ftshelpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ bool ftsIndexIsOldOrBad( BtreeIndexing::BtreeDictionary * dict )
auto document = db.get_document( docid );

string const lastDoc = document.get_data();
bool const notFinished = lastDoc != finish_mark;
qDebug() << dict->ftsIndexName().c_str() << document.get_data().c_str() << notFinished;
return lastDoc != finish_mark;
//use a special document to mark the end of the index.
return notFinished;
}
catch ( Xapian::Error & e ) {
qWarning() << e.get_description().c_str();
Expand Down

0 comments on commit 8c8f40c

Please sign in to comment.