From c05ca054c189abbb8378cdd5457adfcf39be7ca0 Mon Sep 17 00:00:00 2001 From: nauta <870284156@qq.com> Date: Wed, 9 Dec 2020 12:40:11 +0800 Subject: [PATCH] fix encodeXML --- src/Functions/encodeXML.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Functions/encodeXML.cpp b/src/Functions/encodeXML.cpp index a3e6a807eb1..8d740a933a2 100644 --- a/src/Functions/encodeXML.cpp +++ b/src/Functions/encodeXML.cpp @@ -47,7 +47,7 @@ namespace res_data.resize(res_offset); } - static void vectorFixed(const ColumnString::Chars &, size_t, ColumnString::Chars &) + [[noreturn]] static void vectorFixed(const ColumnString::Chars &, size_t, ColumnString::Chars &) { throw Exception("Function encodeXML cannot work with FixedString argument", ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT); }