Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp @ 5757:5463c3ae3235 large-queries
refactored extended /changes
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 05 Sep 2024 18:21:56 +0200 |
parents | 3765085693e5 |
children | ca06dde85358 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Thu Jul 04 07:40:58 2024 +0200 +++ b/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Thu Sep 05 18:21:56 2024 +0200 @@ -557,15 +557,15 @@ int64_t since, uint32_t limit) ORTHANC_OVERRIDE { - GetChanges2(target, done, since, -1, limit, ChangeType_INTERNAL_All); + GetChangesExtended(target, done, since, -1, limit, ChangeType_INTERNAL_All); } - virtual void GetChanges2(std::list<ServerIndexChange>& target /*out*/, - bool& done /*out*/, - int64_t since, - int64_t to, - uint32_t limit, - ChangeType filterType) ORTHANC_OVERRIDE + virtual void GetChangesExtended(std::list<ServerIndexChange>& target /*out*/, + bool& done /*out*/, + int64_t since, + int64_t to, + uint32_t limit, + ChangeType filterType) ORTHANC_OVERRIDE { std::vector<std::string> filters; bool hasSince = false; @@ -1410,7 +1410,7 @@ // TODO: implement revisions in SQLite dbCapabilities_.SetFlushToDisk(true); dbCapabilities_.SetLabelsSupport(true); - dbCapabilities_.SetHasExtendedApiV1(true); + dbCapabilities_.SetHasExtendedChanges(true); db_.Open(path); } @@ -1423,7 +1423,7 @@ // TODO: implement revisions in SQLite dbCapabilities_.SetFlushToDisk(true); dbCapabilities_.SetLabelsSupport(true); - dbCapabilities_.SetHasExtendedApiV1(true); + dbCapabilities_.SetHasExtendedChanges(true); db_.OpenInMemory(); }