Mercurial > hg > orthanc-databases
comparison Framework/Plugins/DatabaseBackendAdapterV2.cpp @ 403:91124cc8a8c7 db-protobuf
database plugins are informed about the identifier tags
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Apr 2023 11:10:19 +0200 |
parents | a8774581adfc |
children | ecd0b719cff5 |
comparison
equal
deleted
inserted
replaced
402:82921a29349a | 403:91124cc8a8c7 |
---|---|
88 { | 88 { |
89 boost::mutex::scoped_lock lock(managerMutex_); | 89 boost::mutex::scoped_lock lock(managerMutex_); |
90 | 90 |
91 if (manager_.get() == NULL) | 91 if (manager_.get() == NULL) |
92 { | 92 { |
93 manager_.reset(IndexBackend::CreateSingleDatabaseManager(*backend_)); | 93 std::list<IdentifierTag> identifierTags; |
94 manager_.reset(IndexBackend::CreateSingleDatabaseManager(*backend_, false, identifierTags)); | |
94 } | 95 } |
95 else | 96 else |
96 { | 97 { |
97 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); | 98 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); |
98 } | 99 } |