Merge pull request #1043 from xiaoyifang/fix/fts-temp-delete

fix: fts temp folder deletion
This commit is contained in:
xiaoyifang 2023-08-05 20:54:35 +08:00 committed by GitHub
commit 5984444270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ) {