Mercurial > hg > orthanc-databases
comparison 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 |
comparison
equal
deleted
inserted
replaced
430:f1f3c5554283 | 431:7c1fe5d6c12c |
---|---|
1202 return ReadGlobalProperty(target, statement, args); | 1202 return ReadGlobalProperty(target, statement, args); |
1203 } | 1203 } |
1204 } | 1204 } |
1205 } | 1205 } |
1206 | 1206 |
1207 bool IndexBackend::HasAtomicIncrementGlobalProperty() | |
1208 { | |
1209 return false; // currently only implemented in Postgres | |
1210 } | |
1211 | |
1212 int64_t IndexBackend::IncrementGlobalProperty(DatabaseManager& manager, | |
1213 const char* serverIdentifier, | |
1214 int32_t property, | |
1215 int64_t increment) | |
1216 { | |
1217 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); | |
1218 } | |
1207 | 1219 |
1208 void IndexBackend::LookupIdentifier(std::list<int64_t>& target /*out*/, | 1220 void IndexBackend::LookupIdentifier(std::list<int64_t>& target /*out*/, |
1209 DatabaseManager& manager, | 1221 DatabaseManager& manager, |
1210 OrthancPluginResourceType resourceType, | 1222 OrthancPluginResourceType resourceType, |
1211 uint16_t group, | 1223 uint16_t group, |