1
0
Fork 0

remove comment and update the toJsonHelper for IndexRangeNode.

This commit is contained in:
James 2014-08-19 12:08:22 +02:00
parent 857083adc9
commit b82b0fbefc
2 changed files with 1 additions and 6 deletions

View File

@ -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

View File

@ -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);