From ed8ecc987e7919eaed67211ced2dc58bbb1f9f60 Mon Sep 17 00:00:00 2001 From: ANDREI STAROVEROV Date: Tue, 11 May 2021 02:20:43 +0300 Subject: [PATCH] Fix style error --- src/Interpreters/InterpreterCreateFunctionQuery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/InterpreterCreateFunctionQuery.cpp b/src/Interpreters/InterpreterCreateFunctionQuery.cpp index 9de6a4aaeff..83fdc8ad29c 100644 --- a/src/Interpreters/InterpreterCreateFunctionQuery.cpp +++ b/src/Interpreters/InterpreterCreateFunctionQuery.cpp @@ -37,7 +37,7 @@ void InterpreterCreateFunctionQuery::validateFunction(ASTPtr function) { if (!arguments.contains(identifier)) { - std::stringstream s; + WriteBufferFromOwnString s; s << "Identifier '" << identifier << "' does not exist in arguments"; throw Exception(s.str(), ErrorCodes::UNKNOWN_IDENTIFIER); }