mirror of https://gitee.com/bigwinds/arangodb
about to delete some junk
This commit is contained in:
parent
b7a1247252
commit
d9725b037b
|
@ -3500,7 +3500,7 @@ int64_t GatherBlock::remaining () {
|
|||
return sum;
|
||||
}
|
||||
|
||||
bool GatherBlock::getBlock (size_t atLeast, size_t atMost) {
|
||||
/* bool GatherBlock::getBlock (size_t atLeast, size_t atMost) {
|
||||
int64_t sum = 0;
|
||||
while (sum < atLeast && _atDep < _dependencies.size()) {
|
||||
AqlItemBlock* docs = _dependencies[_atDep]->getSome(atLeast, atMost);
|
||||
|
@ -3522,9 +3522,9 @@ bool GatherBlock::getBlock (size_t atLeast, size_t atMost) {
|
|||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}*/
|
||||
|
||||
AqlItemBlock* GatherBlock::getSome (size_t atLeast, size_t atMost) {
|
||||
/*AqlItemBlock* GatherBlock::getSome (size_t atLeast, size_t atMost) {
|
||||
|
||||
if (_done) {
|
||||
return nullptr;
|
||||
|
@ -3584,7 +3584,7 @@ AqlItemBlock* GatherBlock::getSome (size_t atLeast, size_t atMost) {
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
// Local Variables:
|
||||
// mode: outline-minor
|
||||
|
|
|
@ -1521,11 +1521,18 @@ public:
|
|||
AqlItemBlock*& result,
|
||||
size_t& skipped);*/
|
||||
|
||||
bool isSimple () {
|
||||
auto en = static_cast<GatherNodeNode const*>(getPlanNode());
|
||||
if (en.getElements().empty()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool getBlock(size_t atLeast, size_t atMost);
|
||||
|
||||
size_t _atDep = 0;
|
||||
|
||||
size_t _posInBlock = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue