comparison OrthancServer/Sources/Database/Compatibility/IGetChildrenMetadata.cpp @ 4623:95ffe3b6ef7c db-changes

handling of revisions for metadata
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Apr 2021 17:13:03 +0200
parents d9473bd5ed43
children f0038043fb97 7053502fbf97
comparison
equal deleted inserted replaced
4622:9086aeb9d9d2 4623:95ffe3b6ef7c
54 54
55 for (std::list<int64_t>::const_iterator 55 for (std::list<int64_t>::const_iterator
56 it = children.begin(); it != children.end(); ++it) 56 it = children.begin(); it != children.end(); ++it)
57 { 57 {
58 std::string value; 58 std::string value;
59 if (database.LookupMetadata(value, *it, metadata)) 59 int64_t revision; // Ignored
60 if (database.LookupMetadata(value, revision, *it, metadata))
60 { 61 {
61 target.push_back(value); 62 target.push_back(value);
62 } 63 }
63 } 64 }
64 } 65 }