+ close cleanly the writabledatabse at the end of the indexing process

This commit is contained in:
kelson42 2012-04-19 13:31:15 +00:00
parent b40a317bf0
commit bec68ffa13
1 changed files with 2 additions and 1 deletions

View File

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