changeset 641:a66ad2d115fa

fix non PG builds
author Alain Mazy <am@orthanc.team>
date Fri, 14 Feb 2025 13:25:40 +0100 (2 months ago)
parents 480344e7316d
children cfddeec356c5
files MySQL/Plugins/MySQLIndex.cpp Odbc/Plugins/OdbcIndex.cpp SQLite/Plugins/SQLiteIndex.cpp
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MySQL/Plugins/MySQLIndex.cpp	Fri Feb 14 13:10:50 2025 +0100
+++ b/MySQL/Plugins/MySQLIndex.cpp	Fri Feb 14 13:25:40 2025 +0100
@@ -41,7 +41,7 @@
   MySQLIndex::MySQLIndex(OrthancPluginContext* context,
                          const MySQLParameters& parameters,
                          bool readOnly) :
-    IndexBackend(context, readOnly),
+    IndexBackend(context, readOnly, false),
     parameters_(parameters),
     clearAll_(false)
   {
--- a/Odbc/Plugins/OdbcIndex.cpp	Fri Feb 14 13:10:50 2025 +0100
+++ b/Odbc/Plugins/OdbcIndex.cpp	Fri Feb 14 13:25:40 2025 +0100
@@ -137,7 +137,7 @@
   OdbcIndex::OdbcIndex(OrthancPluginContext* context,
                        const std::string& connectionString,
                        bool readOnly) :
-    IndexBackend(context, readOnly),
+    IndexBackend(context, readOnly, false),
     maxConnectionRetries_(10),
     connectionRetryInterval_(5),
     connectionString_(connectionString)
--- a/SQLite/Plugins/SQLiteIndex.cpp	Fri Feb 14 13:10:50 2025 +0100
+++ b/SQLite/Plugins/SQLiteIndex.cpp	Fri Feb 14 13:25:40 2025 +0100
@@ -191,7 +191,7 @@
 
   SQLiteIndex::SQLiteIndex(OrthancPluginContext* context,
                            const std::string& path) :
-    IndexBackend(context, false /* not read-only */),
+    IndexBackend(context, false /* not read-only */, false),
     path_(path),
     fast_(true)
   {
@@ -203,7 +203,7 @@
 
 
   SQLiteIndex::SQLiteIndex(OrthancPluginContext* context) :
-    IndexBackend(context, false /* not read-only */),
+    IndexBackend(context, false /* not read-only */, false),
     fast_(true)
   {
   }