mirror of https://gitee.com/bigwinds/arangodb
Fix a bug in traverser.
This commit is contained in:
parent
877e42e7c5
commit
fa99e47129
|
@ -750,7 +750,7 @@ static void AnyNeighbors(std::vector<EdgeCollectionInfo*>& collectionInfos,
|
||||||
if (visited.find(std::string(v, l)) == visited.end()) {
|
if (visited.find(std::string(v, l)) == visited.end()) {
|
||||||
std::string tmp(v, l);
|
std::string tmp(v, l);
|
||||||
if (depth >= opts.minDepth) {
|
if (depth >= opts.minDepth) {
|
||||||
if (opts.matchesVertex(v)) {
|
if (opts.matchesVertex(tmp)) {
|
||||||
distinct.emplace_back(tmp);
|
distinct.emplace_back(tmp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue