mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Remove an always-false condition from query parser
https://github.com/ClickHouse/ClickHouse/pull/19236#discussion_r567673775
This commit is contained in:
parent
3c09bcc771
commit
7780c0b8e9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user