mirror of https://gitee.com/bigwinds/arangodb
fix valgrind issues (#5283)
This commit is contained in:
parent
6db3258505
commit
39a4cbf0d6
|
@ -3876,14 +3876,20 @@ class RestrictToSingleShardChecker final : public WalkerWorker<ExecutionNode> {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case EN::ENUMERATE_COLLECTION:
|
case EN::ENUMERATE_COLLECTION: {
|
||||||
case EN::UPSERT: {
|
|
||||||
// track usage of the collection
|
// track usage of the collection
|
||||||
auto collection = static_cast<EnumerateCollectionNode const*>(en)->collection();
|
auto collection = static_cast<EnumerateCollectionNode const*>(en)->collection();
|
||||||
_shardsUsed[collection].emplace("all");
|
_shardsUsed[collection].emplace("all");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case EN::UPSERT: {
|
||||||
|
// track usage of the collection
|
||||||
|
auto collection = static_cast<ModificationNode const*>(en)->collection();
|
||||||
|
_shardsUsed[collection].emplace("all");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case EN::INSERT:
|
case EN::INSERT:
|
||||||
case EN::REPLACE:
|
case EN::REPLACE:
|
||||||
case EN::UPDATE:
|
case EN::UPDATE:
|
||||||
|
|
Loading…
Reference in New Issue