changeset 3190:f451e93cd58b

log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Feb 2019 20:30:08 +0100
parents 6f89d22a6ec0
children 20826867141f
files Plugins/Engine/OrthancPluginDatabase.cpp
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.cpp	Mon Feb 04 15:47:56 2019 +0100
+++ b/Plugins/Engine/OrthancPluginDatabase.cpp	Mon Feb 04 20:30:08 2019 +0100
@@ -271,6 +271,18 @@
       isOptimal = false;
     }
 
+    if (extensions_.getAllMetadata == NULL)
+    {
+      LOG(INFO) << MISSING << "GetAllMetadata()";
+      isOptimal = false;
+    }
+
+    if (extensions_.lookupResourceAndParent == NULL)
+    {
+      LOG(INFO) << MISSING << "LookupResourceAndParent()";
+      isOptimal = false;
+    }
+
     if (isOptimal)
     {
       LOG(INFO) << "The performance of the database index plugin "