Mercurial > hg > orthanc-databases
comparison MySQL/Plugins/MySQLIndex.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 | 897253c21208 |
children | 95c413106a66 d700c8f9fc24 |
comparison
equal
deleted
inserted
replaced
402:82921a29349a | 403:91124cc8a8c7 |
---|---|
61 throw Orthanc::OrthancException(Orthanc::ErrorCode_Database, | 61 throw Orthanc::OrthancException(Orthanc::ErrorCode_Database, |
62 "Need to fix the MySQL permissions for \"CREATE TRIGGER\""); | 62 "Need to fix the MySQL permissions for \"CREATE TRIGGER\""); |
63 } | 63 } |
64 | 64 |
65 | 65 |
66 void MySQLIndex::ConfigureDatabase(DatabaseManager& manager) | 66 void MySQLIndex::ConfigureDatabase(DatabaseManager& manager, |
67 bool hasIdentifierTags, | |
68 const std::list<IdentifierTag>& identifierTags) | |
67 { | 69 { |
68 uint32_t expectedVersion = 6; | 70 uint32_t expectedVersion = 6; |
69 | 71 |
70 if (GetContext()) // "GetContext()" can possibly be NULL in the unit tests | 72 if (GetContext()) // "GetContext()" can possibly be NULL in the unit tests |
71 { | 73 { |