Mercurial > hg > orthanc
changeset 5519:2c5eb1ef26a0 pg-transactions
removed unused method IDatabaseWrapper::ITransaction::GetDatabaseCapabilities()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jan 2024 09:21:41 +0100 |
parents | bbe45a71f5cd |
children | d7c24c9c9448 |
files | OrthancServer/Plugins/Engine/OrthancPluginDatabase.cpp OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.cpp OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp OrthancServer/Sources/Database/IDatabaseWrapper.h OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp |
diffstat | 5 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabase.cpp Tue Jan 30 09:16:47 2024 +0100 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabase.cpp Tue Jan 30 09:21:41 2024 +0100 @@ -243,11 +243,6 @@ that_.activeTransaction_ = NULL; } - virtual const Capabilities GetDatabaseCapabilities() const ORTHANC_OVERRIDE - { - return that_.GetDatabaseCapabilities(); - } - IDatabaseListener& GetDatabaseListener() const { return listener_;
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.cpp Tue Jan 30 09:16:47 2024 +0100 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.cpp Tue Jan 30 09:21:41 2024 +0100 @@ -278,11 +278,6 @@ } } - virtual const Capabilities GetDatabaseCapabilities() const ORTHANC_OVERRIDE - { - return that_.GetDatabaseCapabilities(); - } - virtual void Rollback() ORTHANC_OVERRIDE { CheckSuccess(that_.backend_.rollback(transaction_));
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp Tue Jan 30 09:16:47 2024 +0100 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp Tue Jan 30 09:21:41 2024 +0100 @@ -305,11 +305,6 @@ } } - virtual const Capabilities GetDatabaseCapabilities() const ORTHANC_OVERRIDE - { - return database_.GetDatabaseCapabilities(); - } - void* GetTransactionObject() { return transaction_;
--- a/OrthancServer/Sources/Database/IDatabaseWrapper.h Tue Jan 30 09:16:47 2024 +0100 +++ b/OrthancServer/Sources/Database/IDatabaseWrapper.h Tue Jan 30 09:21:41 2024 +0100 @@ -340,8 +340,6 @@ // List all the labels that are present in any resource virtual void ListAllLabels(std::set<std::string>& target) = 0; - virtual const Capabilities GetDatabaseCapabilities() const = 0; - virtual int64_t IncrementGlobalProperty(GlobalProperty property, int64_t increment, bool shared) = 0;
--- a/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Tue Jan 30 09:16:47 2024 +0100 +++ b/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Tue Jan 30 09:21:41 2024 +0100 @@ -316,11 +316,6 @@ { } - virtual const Capabilities GetDatabaseCapabilities() const ORTHANC_OVERRIDE - { - return dbCapabilities_; - } - IDatabaseListener& GetListener() const { return listener_;