1
0
Fork 0
This commit is contained in:
Jan Steemann 2014-06-05 22:28:19 +02:00
parent 17981a92c2
commit 6344bb5a1e
1 changed files with 0 additions and 5 deletions

View File

@ -2362,8 +2362,6 @@ static v8::Handle<v8::Value> ReplaceVocbaseCol (bool useCollection,
TRI_V8_EXCEPTION_MESSAGE(scope, TRI_errno(), "<data> cannot be converted into JSON shape");
}
Barrier barrier(primary);
res = trx.updateDocument(key, &document, shaped, policy, options.waitForSync, rid, &actualRevision);
res = trx.finish(res);
@ -2559,8 +2557,6 @@ static v8::Handle<v8::Value> SaveEdgeCol (
TRI_doc_mptr_t document;
res = trx->createEdge(key, &document, shaped, forceSync, &edge);
Barrier barrier(primary);
res = trx->finish(res);
TRI_FreeShapedJson(zone, shaped);
@ -2768,7 +2764,6 @@ static v8::Handle<v8::Value> UpdateVocbaseCol (bool useCollection,
res = trx.updateDocument(key, &document, patchedJson, policy, options.waitForSync, rid, &actualRevision);
Barrier barrier(primary);
res = trx.finish(res);
TRI_FreeJson(TRI_UNKNOWN_MEM_ZONE, patchedJson);