diff OrthancServer/SQLiteDatabaseWrapper.cpp @ 3079:65e2bfa953ef db-changes

ISqlLookupFormatter::FormatWildcardEscape()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jan 2019 14:03:39 +0100
parents 147497152ce3
children 1a75595d8e44
line wrap: on
line diff
--- a/OrthancServer/SQLiteDatabaseWrapper.cpp	Thu Jan 03 12:47:17 2019 +0100
+++ b/OrthancServer/SQLiteDatabaseWrapper.cpp	Thu Jan 03 14:03:39 2019 +0100
@@ -1137,6 +1137,11 @@
       return boost::lexical_cast<std::string>(level);
     }
 
+    virtual std::string FormatWildcardEscape()
+    {
+      return "ESCAPE '\\'";
+    }
+
     void Bind(SQLite::Statement& statement) const
     {
       size_t pos = 0;