Mercurial > hg > orthanc
changeset 5523:d82cc7c9720a pg-transactions
comment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 31 Jan 2024 09:26:31 +0100 |
parents | dd430a1b21fe |
children | e998ca3e20be 5748d62cec03 |
files | OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Tue Jan 30 09:41:06 2024 +0100 +++ b/OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp Wed Jan 31 09:26:31 2024 +0100 @@ -1109,7 +1109,7 @@ /* out */ uint64_t& countSeries, /* out */ uint64_t& countInstances) { - // new code that updates and gets all statistics. + // Code introduced in Orthanc 1.12.3 that updates and gets all statistics. // I.e, PostgreSQL now store "changes" to apply to the statistics to prevent row locking // of the GlobalIntegers table while multiple clients are inserting/deleting new resources. // Then, the statistics are updated when requested to make sure they are correct. @@ -1155,7 +1155,7 @@ } }; - // legacy oprations that reads each entry individualy + // Compatibility with Orthanc SDK <= 1.12.2 that reads each entry individualy class LegacyOperations : public ReadOnlyOperationsT6<uint64_t&, uint64_t&, uint64_t&, uint64_t&, uint64_t&, uint64_t&> { public: