+ comment a xapian commit(), not mandatory and not available in old xapian versions

This commit is contained in:
kelson42 2012-04-16 14:31:25 +00:00
parent 52348ef11c
commit 12fd7eb06a
1 changed files with 3 additions and 1 deletions

View File

@ -92,6 +92,8 @@ namespace kiwix {
void XapianIndexer::indexingPostlude() { void XapianIndexer::indexingPostlude() {
this->flush(); this->flush();
this->writableDatabase.commit_transaction(); this->writableDatabase.commit_transaction();
this->writableDatabase.commit();
// commit is not available is old version of xapian and seems not mandatory there
// this->writableDatabase.commit();
} }
} }