diff MySQL/Plugins/MySQLIndex.h @ 224:61c309e06797

added internal class DatabaseBackendAdapterV2::Adapter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 01 Apr 2021 16:09:59 +0200
parents 2089d4071408
children 94c9908e6aca
line wrap: on
line diff
--- a/MySQL/Plugins/MySQLIndex.h	Thu Apr 01 11:50:36 2021 +0200
+++ b/MySQL/Plugins/MySQLIndex.h	Thu Apr 01 16:09:59 2021 +0200
@@ -71,6 +71,11 @@
       clearAll_ = clear;
     }
 
+    virtual IDatabaseFactory* CreateDatabaseFactory() ORTHANC_OVERRIDE
+    {
+      return new Factory(*this);
+    }
+
     virtual int64_t CreateResource(const char* publicId,
                                    OrthancPluginResourceType type)
       ORTHANC_OVERRIDE;