# HG changeset patch
# User Alain Mazy <am@orthanc.team>
# Date 1739535940 -3600
# Node ID a66ad2d115fa3c6dd42a1ca45972e5bf21933fed
# Parent  480344e7316d1a45dcf8978a6c6495e8e34fcdfe
fix non PG builds

diff -r 480344e7316d -r a66ad2d115fa MySQL/Plugins/MySQLIndex.cpp
--- 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)
   {
diff -r 480344e7316d -r a66ad2d115fa Odbc/Plugins/OdbcIndex.cpp
--- 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)
diff -r 480344e7316d -r a66ad2d115fa SQLite/Plugins/SQLiteIndex.cpp
--- 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)
   {
   }