diff OrthancServer/Database/SQLiteDatabaseWrapper.cpp @ 3121:f86ebf971a72 db-changes

fix unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 14 Jan 2019 16:23:08 +0100
parents 0fa7181ac4e5
children c0d7aee8c3f8
line wrap: on
line diff
--- a/OrthancServer/Database/SQLiteDatabaseWrapper.cpp	Mon Jan 14 13:13:12 2019 +0100
+++ b/OrthancServer/Database/SQLiteDatabaseWrapper.cpp	Mon Jan 14 16:23:08 2019 +0100
@@ -330,7 +330,7 @@
 
 
   int SQLiteDatabaseWrapper::GetGlobalIntegerProperty(GlobalProperty property,
-                                                      unsigned int defaultValue)
+                                                      int defaultValue)
   {
     std::string tmp;
 
@@ -418,11 +418,6 @@
         }
       }
 
-      /*if (GetGlobalIntegerProperty(GlobalProperty_DatabasePatchLevel, 0) <= 0)
-      {
-        SetGlobalProperty(GlobalProperty_DatabasePatchLevel, "1");
-        }*/
-
       t.Commit();
     }
 
@@ -1326,4 +1321,10 @@
       return 0;
     }
   }
+
+
+  void SQLiteDatabaseWrapper::TagAsMostRecentPatient(int64_t patient)
+  {
+    // TODO
+  }
 }