diff OrthancServer/Sources/Search/ISqlLookupFormatter.h @ 4819:70d2a97ca8cb openssl-3.x

integration mainline->openssl-3.x
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 25 Nov 2021 13:12:32 +0100
parents f0038043fb97 b8fcd331b4b3
children 2e71a08eea15
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/ISqlLookupFormatter.h	Mon Aug 30 22:21:24 2021 +0200
+++ b/OrthancServer/Sources/Search/ISqlLookupFormatter.h	Thu Nov 25 13:12:32 2021 +0100
@@ -48,6 +48,13 @@
 
     virtual std::string FormatWildcardEscape() = 0;
 
+    /**
+     * Whether to escape '[' and ']', which is only needed for
+     * MSSQL. New in Orthanc 1.9.8, from the following changeset:
+     * https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea
+     **/
+    virtual bool IsEscapeBrackets() const = 0;
+
     static void Apply(std::string& sql,
                       ISqlLookupFormatter& formatter,
                       const std::vector<DatabaseConstraint>& lookup,