mirror of https://github.com/kiwix/libkiwix.git
+ comment a xapian commit(), not mandatory and not available in old xapian versions
This commit is contained in:
parent
52348ef11c
commit
12fd7eb06a
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue