diff OrthancServer/DatabaseWrapperBase.cpp @ 1716:2ca7888f8600 db-changes

refactoring DicomIdentifiers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 17 Oct 2015 12:16:27 +0200
parents c3baf74e443f
children 2b812969e136
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapperBase.cpp	Fri Oct 16 18:34:53 2015 +0200
+++ b/OrthancServer/DatabaseWrapperBase.cpp	Sat Oct 17 12:16:27 2015 +0200
@@ -351,15 +351,6 @@
                    s.ColumnInt(2),
                    s.ColumnString(3));
     }
-
-    SQLite::Statement s2(db_, SQLITE_FROM_HERE, "SELECT * FROM DicomIdentifiers WHERE id=?");
-    s2.BindInt64(0, id);
-    while (s2.Step())
-    {
-      map.SetValue(s2.ColumnInt(1),
-                   s2.ColumnInt(2),
-                   s2.ColumnString(3));
-    }
   }