+ xapian writabledatabase::close() only for Windows

This commit is contained in:
kelson42 2012-04-28 17:22:33 +00:00
parent 69c3c4340f
commit fd87db6844
1 changed files with 1 additions and 2 deletions

View File

@ -92,8 +92,7 @@ namespace kiwix {
void XapianIndexer::indexingPostlude() {
this->flush();
this->writableDatabase.commit_transaction();
#ifdef __APPLE__
#else
#ifdef _WIN32
this->writableDatabase.close();
#endif