mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ close cleanly the writabledatabse at the end of the indexing process
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user