diff Framework/Plugins/IndexBackend.cpp @ 354:2a3bbb4104fa

fix changeset 389c037387ea
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:17:51 +0100
parents 4454545bb265
children 16aac0287485 cd9521e04249
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.cpp	Mon Nov 15 12:22:44 2021 +0100
+++ b/Framework/Plugins/IndexBackend.cpp	Thu Nov 25 13:17:51 2021 +0100
@@ -2025,6 +2025,13 @@
       }
     }
 
+    virtual bool IsEscapeBrackets() const
+    {
+      // This was initially done at a bad location by the following changeset:
+      // https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea
+      return (dialect_ == Dialect_MSSQL);
+    }
+
     void PrepareStatement(DatabaseManager::StandaloneStatement& statement) const
     {
       statement.SetReadOnly(true);