mirror of https://gitee.com/bigwinds/arangodb
removed #if
This commit is contained in:
parent
50571f84db
commit
4a2693cebd
|
@ -1586,7 +1586,6 @@ int triagens::aql::distributeInCluster (Optimizer* opt,
|
||||||
Optimizer::Rule const* rule) {
|
Optimizer::Rule const* rule) {
|
||||||
bool wasModified = false;
|
bool wasModified = false;
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (triagens::arango::ServerState::instance()->isCoordinator()) {
|
if (triagens::arango::ServerState::instance()->isCoordinator()) {
|
||||||
// we are a coordinator. now look in the plan for nodes of type
|
// we are a coordinator. now look in the plan for nodes of type
|
||||||
// EnumerateCollectionNode and IndexRangeNode
|
// EnumerateCollectionNode and IndexRangeNode
|
||||||
|
@ -1647,7 +1646,6 @@ int triagens::aql::distributeInCluster (Optimizer* opt,
|
||||||
wasModified = true;
|
wasModified = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
opt->addPlan(plan, rule->level, wasModified);
|
opt->addPlan(plan, rule->level, wasModified);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue