mirror of https://gitee.com/bigwinds/arangodb
ShortestPath and TraversalNode now call GraphNode::toVelocyPack as expected, not the Base ExecuteionNode::toVelocypackGeneric by accident
This commit is contained in:
parent
aed9a528fc
commit
e3febed2b5
|
@ -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"));
|
||||
|
|
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue