mirror of https://gitee.com/bigwinds/arangodb
remove comment and update the toJsonHelper for IndexRangeNode.
This commit is contained in:
parent
857083adc9
commit
b82b0fbefc
|
@ -296,11 +296,7 @@ void IndexRangeNode::toJsonHelper (std::map<ExecutionNode*, int>& indexTab,
|
|||
Json ranges(Json::List);
|
||||
|
||||
for (auto x : *_ranges) {
|
||||
Json item(Json::Array);
|
||||
item("name", Json(x->_name));
|
||||
// ("low", x._low)
|
||||
// ("high", x._high)
|
||||
ranges(item);
|
||||
ranges(x->toJson());
|
||||
}
|
||||
|
||||
// Now put info about vocbase and cid in there
|
||||
|
|
|
@ -114,7 +114,6 @@ class CalculationNodeFinder : public WalkerWorker<ExecutionNode> {
|
|||
}
|
||||
|
||||
void buildRangeInfo (AstNode const* node, std::string& name){
|
||||
std::cout << "here!\n";
|
||||
if(node->type == NODE_TYPE_REFERENCE){
|
||||
auto var = static_cast<Variable*>(node->getData());
|
||||
auto setter = _plan->getVarSetBy(var->id);
|
||||
|
|
Loading…
Reference in New Issue