1
0
Fork 0

fixed invalid cast

This commit is contained in:
Jan Steemann 2015-10-02 18:04:52 +02:00
parent 8e0ab92d1a
commit 574f88a1f9
1 changed files with 2 additions and 2 deletions

View File

@ -3630,8 +3630,8 @@ int triagens::aql::scatterInClusterRule (Optimizer* opt,
collection = static_cast<IndexRangeNode*>(node)->collection();
}
else if (nodeType == ExecutionNode::INDEX) {
vocbase = static_cast<IndexRangeNode*>(node)->vocbase();
collection = static_cast<IndexRangeNode*>(node)->collection();
vocbase = static_cast<IndexNode*>(node)->vocbase();
collection = static_cast<IndexNode*>(node)->collection();
}
else if (nodeType == ExecutionNode::INSERT ||
nodeType == ExecutionNode::UPDATE ||