From 9f08dbacff7ff7de46b66ce571e53298c1022fe5 Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Thu, 26 Dec 2019 07:32:15 +0300 Subject: [PATCH] Fixed style --- dbms/src/Functions/FunctionHelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Functions/FunctionHelpers.cpp b/dbms/src/Functions/FunctionHelpers.cpp index 601de72a64..97690af634 100644 --- a/dbms/src/Functions/FunctionHelpers.cpp +++ b/dbms/src/Functions/FunctionHelpers.cpp @@ -194,7 +194,7 @@ void validateFunctionArgumentTypes(const IFunction & func, throw Exception("Incorrect number of arguments for function " + func.getName() + " provided " + std::to_string(arguments.size()) - + (arguments.size() ? " (" + joinArgumentTypes(arguments) + ")" : String{} ) + + (arguments.size() ? " (" + joinArgumentTypes(arguments) + ")" : String{}) + ", expected " + std::to_string(mandatory_args.size()) + (optional_args.size() ? " to " + std::to_string(mandatory_args.size() + optional_args.size()) : "") + " (" + joinArgumentTypes(mandatory_args) -- GitLab