mirror of https://github.com/kiwix/libkiwix.git
+ close cleanly the writabledatabse at the end of the indexing process
This commit is contained in:
parent
b40a317bf0
commit
bec68ffa13
|
@ -92,6 +92,7 @@ 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();
|
||||
|
|
Loading…
Reference in New Issue