diff OrthancServer/Sources/Database/IDatabaseWrapper.h @ 4586:1d96fe7e054e db-changes

taking StatelessDatabaseOperations out of ServerIndex
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Mar 2021 18:24:59 +0100
parents 9224e107d613
children bec74e29f86b
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/IDatabaseWrapper.h	Tue Mar 09 16:40:38 2021 +0100
+++ b/OrthancServer/Sources/Database/IDatabaseWrapper.h	Tue Mar 09 18:24:59 2021 +0100
@@ -64,6 +64,9 @@
 
       virtual void Rollback() = 0;
 
+      // The "fileSizeDelta" is used for older database plugins that
+      // have no fast way to compute the size of all the stored
+      // attachments (cf. "fastGetTotalSize_")
       virtual void Commit(int64_t fileSizeDelta) = 0;
     };