changeset 218:90eb271f85b2

comments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Mar 2021 18:06:46 +0100
parents ee5858d438dc
children dd6cfc250747
files Framework/Common/DatabaseManager.cpp Framework/Plugins/IndexBackend.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Common/DatabaseManager.cpp	Fri Mar 26 18:02:34 2021 +0100
+++ b/Framework/Common/DatabaseManager.cpp	Fri Mar 26 18:06:46 2021 +0100
@@ -214,8 +214,6 @@
   
   void DatabaseManager::StartTransaction(TransactionType type)
   {
-    // TODO - Deal with TransactionType
-    
     boost::recursive_mutex::scoped_lock lock(mutex_);
 
     try
--- a/Framework/Plugins/IndexBackend.h	Fri Mar 26 18:02:34 2021 +0100
+++ b/Framework/Plugins/IndexBackend.h	Fri Mar 26 18:06:46 2021 +0100
@@ -331,7 +331,9 @@
 
     virtual bool HasCreateInstance() const ORTHANC_OVERRIDE
     {
-      return false;  // TODO - Shouldn't this be "true"?
+      // This extension is available in PostgreSQL and MySQL, but is
+      // emulated by "CreateInstanceGeneric()" in SQLite
+      return false;
     }
       
 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1