mirror of https://gitee.com/bigwinds/arangodb
fix a compile warning
This commit is contained in:
parent
679ac12395
commit
45d460f934
|
@ -4641,8 +4641,10 @@ void arangodb::aql::restrictToSingleShardRule(Optimizer* opt,
|
|||
// are used in a smart join (and use distributeShardsLike on each other)
|
||||
auto forwardRestrictionToPrototype = [&plan](ExecutionNode const* current, std::string const& shardId) {
|
||||
auto collectionNode = dynamic_cast<CollectionAccessingNode const*>(current);
|
||||
if (collectionNode == nullptr) {
|
||||
return;
|
||||
}
|
||||
auto prototypeOutVariable = collectionNode->prototypeOutVariable();
|
||||
|
||||
if (prototypeOutVariable == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue