diff OrthancServer/Sources/Database/SQLiteDatabaseWrapper.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
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp	Wed Dec 13 15:44:33 2023 +0100
+++ b/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp	Fri Dec 15 17:15:43 2023 +0100
@@ -1332,7 +1332,11 @@
     activeTransaction_(NULL), 
     signalRemainingAncestor_(NULL),
     version_(0),
-    dbCapabilities_(true, false /* TODO: implement revisions in SQLite */, true, false)
+    dbCapabilities_(true,  /* hasFlushToDisk */
+                    false, /* hasRevisionsSupport TODO: implement revisions in SQLite */ 
+                    true,  /* hasLabelsSupport */
+                    false, /* hasAtomicIncrementGlobalProperty */
+                    false  /* hasUpdateAndGetStatistics */)
   {
     db_.Open(path);
   }
@@ -1342,7 +1346,11 @@
     activeTransaction_(NULL), 
     signalRemainingAncestor_(NULL),
     version_(0),
-    dbCapabilities_(true, false /* TODO: implement revisions in SQLite */, true, false)
+    dbCapabilities_(true,  /* hasFlushToDisk */
+                    false, /* hasRevisionsSupport TODO: implement revisions in SQLite */ 
+                    true,  /* hasLabelsSupport */
+                    false, /* hasAtomicIncrementGlobalProperty */
+                    false  /* hasUpdateAndGetStatistics */)
   {
     db_.OpenInMemory();
   }