From ce248b31077ebd5ec6efd1affeae117c96c2c807 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 12 Feb 2014 15:02:33 +0100 Subject: [PATCH] documentation --- arangod/V8Server/v8-vocbase.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arangod/V8Server/v8-vocbase.cpp b/arangod/V8Server/v8-vocbase.cpp index 56a5eabdec..41b9a70b1b 100644 --- a/arangod/V8Server/v8-vocbase.cpp +++ b/arangod/V8Server/v8-vocbase.cpp @@ -5935,7 +5935,8 @@ static v8::Handle JS_DropVocbaseCol (v8::Arguments const& argv) { /// /// Drops the index. If the index does not exist, then @LIT{false} is /// returned. If the index existed and was dropped, then @LIT{true} is -/// returned. Note that you cannot drop the primary index. +/// returned. Note that you cannot drop some special indexes (e.g. the primary +/// index of a collection or the edge index of an edge collection). /// /// @FUN{@FA{collection}.dropIndex(@FA{index-handle})} /// @@ -6916,10 +6917,10 @@ static v8::Handle JS_RotateVocbaseCol (v8::Arguments const& argv) { if (collection == 0) { return scope.Close(v8::ThrowException(err)); } + + TRI_SHARDING_COLLECTION_NOT_YET_IMPLEMENTED(scope, collection); - TRI_primary_collection_t* primary = collection->_collection; - - TRI_document_collection_t* document = (TRI_document_collection_t*) primary; + TRI_document_collection_t* document = (TRI_document_collection_t*) collection->_collection; int res = TRI_RotateJournalDocumentCollection(document);