Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.cpp @ 431:7c1fe5d6c12c pg-transactions
PG: IncrementGlobalProperty
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 07 Dec 2023 12:13:43 +0100 |
parents | d700c8f9fc24 |
children | 8b7c1c423367 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp Thu Nov 30 14:50:09 2023 +0100 +++ b/Framework/Plugins/IndexBackend.cpp Thu Dec 07 12:13:43 2023 +0100 @@ -1204,6 +1204,18 @@ } } + bool IndexBackend::HasAtomicIncrementGlobalProperty() + { + return false; // currently only implemented in Postgres + } + + int64_t IndexBackend::IncrementGlobalProperty(DatabaseManager& manager, + const char* serverIdentifier, + int32_t property, + int64_t increment) + { + throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); + } void IndexBackend::LookupIdentifier(std::list<int64_t>& target /*out*/, DatabaseManager& manager,