mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ comment a xapian commit(), not mandatory and not available in old xapian versions
This commit is contained in:
@ -92,6 +92,8 @@ namespace kiwix {
|
||||
void XapianIndexer::indexingPostlude() {
|
||||
this->flush();
|
||||
this->writableDatabase.commit_transaction();
|
||||
this->writableDatabase.commit();
|
||||
|
||||
// commit is not available is old version of xapian and seems not mandatory there
|
||||
// this->writableDatabase.commit();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user