mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
opt: remove log
This commit is contained in:
parent
82d7f1cf76
commit
8c8f40cb53
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue