未验证 提交 41880719 编写于 作者: A Alexander Kuzmenkov 提交者: GitHub

Merge pull request #19919 from ClickHouse/aku/remove-always-false

Remove an always-false condition from query parser
......@@ -269,14 +269,6 @@ ASTPtr tryParseQuery(
// most of the checks.
if (insert && insert->data)
{
if (!parse_res)
{
// Generic parse error.
out_error_message = getSyntaxErrorMessage(query_begin, all_queries_end,
last_token, expected, hilite, query_description);
return nullptr;
}
return res;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册