Mercurial > hg > orthanc-databases
comparison PostgreSQL/Plugins/PostgreSQLIndex.cpp @ 201:42990b2dd51b
create IDatabaseBackendOutput only if needed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 16:51:51 +0100 |
parents | 8cae98f73d53 |
children | 13a3863df7fa |
comparison
equal
deleted
inserted
replaced
200:30b210616f4f | 201:42990b2dd51b |
---|---|
255 | 255 |
256 return db.release(); | 256 return db.release(); |
257 } | 257 } |
258 | 258 |
259 | 259 |
260 PostgreSQLIndex::PostgreSQLIndex(const PostgreSQLParameters& parameters) : | 260 PostgreSQLIndex::PostgreSQLIndex(OrthancPluginContext* context, |
261 IndexBackend(new Factory(*this)), | 261 const PostgreSQLParameters& parameters) : |
262 IndexBackend(context, new Factory(*this)), | |
262 parameters_(parameters), | 263 parameters_(parameters), |
263 clearAll_(false) | 264 clearAll_(false) |
264 { | 265 { |
265 } | 266 } |
266 | 267 |