mirror of https://github.com/kiwix/libkiwix.git
+ xapian writabledatabase::close() only for Windows
This commit is contained in:
parent
69c3c4340f
commit
fd87db6844
|
@ -92,8 +92,7 @@ namespace kiwix {
|
||||||
void XapianIndexer::indexingPostlude() {
|
void XapianIndexer::indexingPostlude() {
|
||||||
this->flush();
|
this->flush();
|
||||||
this->writableDatabase.commit_transaction();
|
this->writableDatabase.commit_transaction();
|
||||||
#ifdef __APPLE__
|
#ifdef _WIN32
|
||||||
#else
|
|
||||||
this->writableDatabase.close();
|
this->writableDatabase.close();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue