1
0
Fork 0

ShortestPath and TraversalNode now call GraphNode::toVelocyPack as expected, not the Base ExecuteionNode::toVelocypackGeneric by accident

This commit is contained in:
Michael Hackstein 2017-04-20 17:19:30 +02:00
parent aed9a528fc
commit e3febed2b5
2 changed files with 2 additions and 4 deletions

View File

@ -227,8 +227,7 @@ ShortestPathNode::ShortestPathNode(ExecutionPlan* plan,
void ShortestPathNode::toVelocyPackHelper(VPackBuilder& nodes,
bool verbose) const {
GraphNode::toVelocyPackHelperGeneric(nodes,
verbose); // call base class method
GraphNode::toVelocyPackHelper(nodes, verbose); // call base class method
// In variables
if (usesStartInVariable()) {
nodes.add(VPackValue("startInVariable"));

View File

@ -298,8 +298,7 @@ bool TraversalNode::allDirectionsEqual() const {
void TraversalNode::toVelocyPackHelper(arangodb::velocypack::Builder& nodes,
bool verbose) const {
GraphNode::toVelocyPackHelperGeneric(nodes,
verbose); // call base class method
GraphNode::toVelocyPackHelper(nodes, verbose); // call base class method
// In variable
if (usesInVariable()) {
nodes.add(VPackValue("inVariable"));