mirror of https://gitee.com/bigwinds/arangodb
whitespace removal
This commit is contained in:
parent
27534399f0
commit
522b23590b
|
@ -254,7 +254,6 @@ bool SkiplistLookupBuilder::next() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SkiplistInLookupBuilder::SkiplistInLookupBuilder(
|
SkiplistInLookupBuilder::SkiplistInLookupBuilder(
|
||||||
Transaction* trx,
|
Transaction* trx,
|
||||||
std::vector<std::vector<arangodb::aql::AstNode const*>>& ops,
|
std::vector<std::vector<arangodb::aql::AstNode const*>>& ops,
|
||||||
|
@ -529,7 +528,6 @@ TRI_doc_mptr_t* SkiplistIterator::next() {
|
||||||
return tmp->document()->document();
|
return tmp->document()->document();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief Checks if the interval is valid. It is declared invalid if
|
/// @brief Checks if the interval is valid. It is declared invalid if
|
||||||
/// one border is nullptr or the right is lower than left.
|
/// one border is nullptr or the right is lower than left.
|
||||||
|
@ -553,14 +551,12 @@ bool SkiplistIterator2::intervalValid(Node* left, Node* right) const {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief Reset the cursor
|
/// @brief Reset the cursor
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
void SkiplistIterator2::reset() {
|
void SkiplistIterator2::reset() {
|
||||||
// If _interals is empty at this point
|
// If _intervals is empty at this point
|
||||||
// the cursor does not contain any
|
// the cursor does not contain any
|
||||||
// document at all. Reset is pointless
|
// document at all. Reset is pointless
|
||||||
if (!_intervals.empty()) {
|
if (!_intervals.empty()) {
|
||||||
|
@ -686,7 +682,6 @@ void SkiplistIterator2::initNextInterval() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief create the skiplist index
|
/// @brief create the skiplist index
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue