From b5839064d8fb00ad52aec02679d1792c5da372e7 Mon Sep 17 00:00:00 2001 From: Michael Hackstein Date: Tue, 19 May 2015 15:51:05 -0700 Subject: [PATCH] Disabled CPP Neighbors for now to please unittests. Output format is changed significantly --- js/server/modules/org/arangodb/aql.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/server/modules/org/arangodb/aql.js b/js/server/modules/org/arangodb/aql.js index ed9e8605f9..838e33ab74 100644 --- a/js/server/modules/org/arangodb/aql.js +++ b/js/server/modules/org/arangodb/aql.js @@ -6534,9 +6534,11 @@ function AQL_NEIGHBORS (vertexCollection, 'use strict'; vertex = TO_ID(vertex, vertexCollection); + /* if (examples === undefined) { - return CPP_NEIGHBORS(vertexCollection, edgeCollection, vertex, {direction: direction}); + return [CPP_NEIGHBORS(vertexCollection, edgeCollection, vertex, {direction: direction})]; } + */ var edges = AQL_EDGES(edgeCollection, vertex, direction); return FILTERED_EDGES(edges, vertex, direction, examples);