From cc8ec1750cce9e12c338bbd16430dba56ef97001 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 20 Mar 2015 21:38:58 +0100 Subject: [PATCH] fixed function name in error message --- arangod/Aql/Executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arangod/Aql/Executor.cpp b/arangod/Aql/Executor.cpp index e33a9f61af..24e6cf5c22 100644 --- a/arangod/Aql/Executor.cpp +++ b/arangod/Aql/Executor.cpp @@ -742,7 +742,7 @@ void Executor::generateCodeFunctionCall (AstNode const* node) { } else if (conversion == Function::CONVERSION_REQUIRED) { // the parameter at the position is not a collection name... fail - THROW_ARANGO_EXCEPTION_PARAMS(TRI_ERROR_QUERY_FUNCTION_ARGUMENT_TYPE_MISMATCH, func->internalName.c_str()); + THROW_ARANGO_EXCEPTION_PARAMS(TRI_ERROR_QUERY_FUNCTION_ARGUMENT_TYPE_MISMATCH, func->externalName.c_str()); } else { generateCodeNode(args->getMember(i));