Mercurial > hg > orthanc-databases
comparison 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 |
comparison
equal
deleted
inserted
replaced
353:389c037387ea | 354:2a3bbb4104fa |
---|---|
2023 default: | 2023 default: |
2024 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); | 2024 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); |
2025 } | 2025 } |
2026 } | 2026 } |
2027 | 2027 |
2028 virtual bool IsEscapeBrackets() const | |
2029 { | |
2030 // This was initially done at a bad location by the following changeset: | |
2031 // https://hg.orthanc-server.com/orthanc-databases/rev/389c037387ea | |
2032 return (dialect_ == Dialect_MSSQL); | |
2033 } | |
2034 | |
2028 void PrepareStatement(DatabaseManager::StandaloneStatement& statement) const | 2035 void PrepareStatement(DatabaseManager::StandaloneStatement& statement) const |
2029 { | 2036 { |
2030 statement.SetReadOnly(true); | 2037 statement.SetReadOnly(true); |
2031 | 2038 |
2032 for (size_t i = 0; i < count_; i++) | 2039 for (size_t i = 0; i < count_; i++) |