fix: fts temp folder deletion

This commit is contained in:
YiFang Xiao 2023-08-05 20:37:58 +08:00
parent b99de3cd9d
commit 091080940f

View file

@ -162,6 +162,8 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell
db.compact( dict->ftsIndexName() );
db.close();
Utils::Fs::removeDirectory( dict->ftsIndexName() + "_temp" );
}
catch ( Xapian::Error & e ) {