mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
This commit is contained in:
commit
8ed4acf63f
|
@ -35,6 +35,8 @@
|
|||
#include "Aql/ExecutionNode.h"
|
||||
#include "Utils/transactions.h"
|
||||
|
||||
// #include "V8/v8.h"
|
||||
|
||||
using namespace triagens::basics;
|
||||
|
||||
struct TRI_json_s;
|
||||
|
@ -820,7 +822,6 @@ namespace triagens {
|
|||
for (size_t i = 0; i < result->size(); i++) {
|
||||
// Now build V8-Object as argument:
|
||||
for (size_t j = 0; j < _inVars.size(); j++) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,14 +93,14 @@ AqlItemBlock* AqlItemBlock::splice(std::vector<AqlItemBlock*>& blocks)
|
|||
auto it = blocks.begin();
|
||||
TRI_ASSERT(it != blocks.end());
|
||||
size_t totalSize = (*it)->size();
|
||||
RegisterId nrRegs = (*it)->getNrVars();
|
||||
RegisterId nrRegs = (*it)->getNrRegs();
|
||||
|
||||
while (true) {
|
||||
if (++it == blocks.end()) {
|
||||
break;
|
||||
}
|
||||
totalSize += (*it)->size();
|
||||
TRI_ASSERT((*it)->getNrVars() == nrRegs);
|
||||
TRI_ASSERT((*it)->getNrRegs() == nrRegs);
|
||||
}
|
||||
|
||||
auto res = new AqlItemBlock(totalSize, nrRegs);
|
||||
|
|
Loading…
Reference in New Issue