mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-10 15:50:15 -04:00
+ 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…
x
Reference in New Issue
Block a user