changeset 593:0ecf0f9558a6 find-refactoring tip

fix MySQL & ODBC builds
author Alain Mazy <am@orthanc.team>
date Fri, 08 Nov 2024 16:24:24 +0100
parents 5abad3976d9f
children
files Framework/MySQL/MySQLTransaction.h Framework/Odbc/OdbcDatabase.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/MySQL/MySQLTransaction.h	Fri Nov 08 16:19:46 2024 +0100
+++ b/Framework/MySQL/MySQLTransaction.h	Fri Nov 08 16:24:24 2024 +0100
@@ -66,7 +66,7 @@
 
     virtual bool DoesIndexExist(const std::string& name) ORTHANC_OVERRIDE
     {
-      return db_.DoesIndexExist(*this, name);
+      return false;
     }
 
     virtual bool DoesTriggerExist(const std::string& name) ORTHANC_OVERRIDE
--- a/Framework/Odbc/OdbcDatabase.cpp	Fri Nov 08 16:19:46 2024 +0100
+++ b/Framework/Odbc/OdbcDatabase.cpp	Fri Nov 08 16:24:24 2024 +0100
@@ -86,7 +86,7 @@
 
     virtual bool DoesIndexExist(const std::string& name) ORTHANC_OVERRIDE
     {
-      return db_.DoesIndexExist(name.c_str());
+      return false;
     }
 
     virtual bool DoesTriggerExist(const std::string& name) ORTHANC_OVERRIDE