mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
This commit is contained in:
commit
d1f550b65e
|
@ -1016,8 +1016,6 @@ void ExecutionPlan::unlinkNodes (std::unordered_set<ExecutionNode*>& toRemove) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void ExecutionPlan::unlinkNode (ExecutionNode* node) {
|
||||
checkLinkage();
|
||||
std::cout << toJson(TRI_UNKNOWN_MEM_ZONE, true).toString() << std::endl;
|
||||
auto parents = node->getParents();
|
||||
if (parents.empty()) {
|
||||
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL,
|
||||
|
@ -1035,8 +1033,6 @@ void ExecutionPlan::unlinkNode (ExecutionNode* node) {
|
|||
node->removeDependency(x);
|
||||
}
|
||||
}
|
||||
std::cout << toJson(TRI_UNKNOWN_MEM_ZONE, true).toString() << std::endl;
|
||||
checkLinkage();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -865,7 +865,7 @@ int TRI_AddCollectionTransaction (TRI_transaction_t* trx,
|
|||
}
|
||||
|
||||
// check if we already have got this collection in the _collections vector
|
||||
size_t position;
|
||||
size_t position = 0;
|
||||
TRI_transaction_collection_t* trxCollection = FindCollection(trx, cid, &position);
|
||||
|
||||
if (trxCollection != nullptr) {
|
||||
|
|
|
@ -1410,7 +1410,7 @@ bool TRI_ParseArgumentsProgramOptions (TRI_program_options_t * options,
|
|||
extern int optind;
|
||||
|
||||
TRI_string_buffer_t buffer;
|
||||
TRI_PO_item_t * item;
|
||||
TRI_PO_item_t* item = nullptr;
|
||||
const char* shortOptions;
|
||||
size_t i;
|
||||
int idx;
|
||||
|
|
Loading…
Reference in New Issue