  
    // .............................................................................
    // outside read transaction
-@@ -511,7 +514,8 @@ bool RestDocumentHandler::readAllDocuments () {
+@@ -511,7 +517,8 @@ bool RestDocumentHandler::readAllDocuments () {
  
    vector<TRI_voc_did_t> ids;
  

 }
 
diff --git a/arangod/RestHandler/RestDocumentHandler.cpp b/arangod/RestHandler/RestDocumentHandler.cpp
index e8fb467..21c5851 100644
--- a/arangod/RestHandler/RestDocumentHandler.cpp
+++ b/arangod/RestHandler/RestDocumentHandler.cpp
@@ -270,7 +270,8 @@ bool RestDocumentHandler::createDocument () {
   // inside write transaction
   // .............................................................................
 

 
   // unlocking is performed in updateJson()
   TRI_voc_rid_t rid = 0;
@@ -860,7 +869,8 @@ bool RestDocumentHandler::deleteDocument () {
   // inside write transaction
   // .............................................................................
 
