comparison OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.cpp @ 5466:dceed5e3d6a9 pg-transactions

new DB plugin primitive: UpdateAndGetStatistics
author Alain Mazy <am@osimis.io>
date Fri, 15 Dec 2023 17:15:43 +0100
parents 176bc05f85f4
children b3ebe249ed5b
comparison
equal deleted inserted replaced
5465:2829889bfa57 5466:dceed5e3d6a9
1086 const std::string& serverIdentifier) : 1086 const std::string& serverIdentifier) :
1087 library_(library), 1087 library_(library),
1088 errorDictionary_(errorDictionary), 1088 errorDictionary_(errorDictionary),
1089 database_(database), 1089 database_(database),
1090 serverIdentifier_(serverIdentifier), 1090 serverIdentifier_(serverIdentifier),
1091 dbCapabilities_(false, false /* revision support is updated in open() */, false, false) 1091 dbCapabilities_(false, /* hasFlushToDisk */
1092 false, /* revision support is updated in open() */
1093 false, /* hasLabelsSupport */
1094 false, /* hasAtomicIncrementGlobalProperty */
1095 false /* hasUpdateAndGetStatistics */)
1092 { 1096 {
1093 CLOG(INFO, PLUGINS) << "Identifier of this Orthanc server for the global properties " 1097 CLOG(INFO, PLUGINS) << "Identifier of this Orthanc server for the global properties "
1094 << "of the custom database: \"" << serverIdentifier << "\""; 1098 << "of the custom database: \"" << serverIdentifier << "\"";
1095 1099
1096 if (backendSize >= sizeof(backend_)) 1100 if (backendSize >= sizeof(backend_))