# HG changeset patch # User Sebastien Jodogne # Date 1632480728 -7200 # Node ID 01b142f0a508a2a46daa27c26a3cdf171f579b22 # Parent 03157465f6f464d5c533af7972172a2e3c6aced4 fix diff -r 03157465f6f4 -r 01b142f0a508 Sources/Plugin.cpp --- a/Sources/Plugin.cpp Thu Sep 23 13:58:05 2021 +0200 +++ b/Sources/Plugin.cpp Fri Sep 24 12:52:08 2021 +0200 @@ -396,6 +396,7 @@ } else { + database_.RemoveAttachment(uuid); storageArea_->RemoveAttachment(uuid); } @@ -499,7 +500,7 @@ } Orthanc::SystemToolbox::MakeDirectory(folder); - path = (boost::filesystem::path(folder) / "indexer.db").string(); + path = (boost::filesystem::path(folder) / "indexer-plugin.db").string(); } LOG(WARNING) << "Path to the database of the Indexer plugin: " << path;