Mercurial > hg > orthanc
comparison OrthancServer/Sources/main.cpp @ 5237:cd2258ca7894 db-protobuf
log about missing support for labels
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 05 Apr 2023 09:07:47 +0200 |
parents | 345dac17a349 |
children | 3de0235dedb6 |
comparison
equal
deleted
inserted
replaced
5236:5e0db9eac1f8 | 5237:cd2258ca7894 |
---|---|
1662 "\", but won't work properly for attachments if \"" + std::string(STORE_MD5) + "\" is set to \"false\""); | 1662 "\", but won't work properly for attachments if \"" + std::string(STORE_MD5) + "\" is set to \"false\""); |
1663 } | 1663 } |
1664 } | 1664 } |
1665 } | 1665 } |
1666 | 1666 |
1667 bool success = ConfigureServerContext | 1667 if (!database.HasLabelsSupport()) |
1668 (database, storageArea, plugins, loadJobsFromDatabase); | 1668 { |
1669 LOG(WARNING) << "The custom database back-end has *no* support for labels"; | |
1670 } | |
1671 | |
1672 bool success = ConfigureServerContext(database, storageArea, plugins, loadJobsFromDatabase); | |
1669 | 1673 |
1670 database.Close(); | 1674 database.Close(); |
1671 | 1675 |
1672 return success; | 1676 return success; |
1673 } | 1677 } |