comparison Framework/Plugins/IndexBackend.cpp @ 583:ae7375d38607 find-refactoring tip

MySQL: fix ordering
author Alain Mazy <am@orthanc.team>
date Mon, 21 Oct 2024 18:19:51 +0200
parents 8296c6a0238e
children
comparison
equal deleted inserted replaced
582:8296c6a0238e 583:ae7375d38607
2262 virtual bool IsEscapeBrackets() const 2262 virtual bool IsEscapeBrackets() const
2263 { 2263 {
2264 // This was initially done at a bad location by the following changeset: 2264 // This was initially done at a bad location by the following changeset:
2265 // https://orthanc.uclouvain.be/hg/orthanc-databases/rev/389c037387ea 2265 // https://orthanc.uclouvain.be/hg/orthanc-databases/rev/389c037387ea
2266 return (dialect_ == Dialect_MSSQL); 2266 return (dialect_ == Dialect_MSSQL);
2267 }
2268
2269 virtual bool SupportsNullsLast() const
2270 {
2271 return (dialect_ == Dialect_PostgreSQL);
2267 } 2272 }
2268 2273
2269 void PrepareStatement(DatabaseManager::StandaloneStatement& statement) const 2274 void PrepareStatement(DatabaseManager::StandaloneStatement& statement) const
2270 { 2275 {
2271 statement.SetReadOnly(true); 2276 statement.SetReadOnly(true);