mirror of https://gitee.com/bigwinds/arangodb
fixed function name in error message
This commit is contained in:
parent
d512b5fa35
commit
cc8ec1750c
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue