mirror of https://gitee.com/bigwinds/arangodb
working again
This commit is contained in:
parent
35be017bb3
commit
8601dd4424
|
@ -865,7 +865,9 @@ IndexRangeBlock::IndexRangeBlock (ExecutionEngine* engine,
|
|||
_condition->at(i).emplace_back(ri.clone());
|
||||
}
|
||||
}
|
||||
removeOverlapsIndexOr(*_condition);
|
||||
if (_condition->size() > 1) {
|
||||
removeOverlapsIndexOr(*_condition);
|
||||
}
|
||||
|
||||
std::vector<std::vector<RangeInfo>> const& orRanges = en->_ranges;
|
||||
TRI_ASSERT(en->_index != nullptr);
|
||||
|
|
|
@ -858,7 +858,7 @@ void triagens::aql::removeOverlapsIndexOr (IndexOrCondition& ioc) {
|
|||
differenceIndexAnd(ioc.at(j), ioc.at(i));
|
||||
}
|
||||
}
|
||||
// remove empty ones
|
||||
// remove empty ones??
|
||||
for (auto it = ioc.begin(); it < ioc.end(); ) {
|
||||
if (it->empty()) {
|
||||
it = ioc.erase(it);
|
||||
|
|
Loading…
Reference in New Issue