mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
dbms: fixed error [#METR-15573].
This commit is contained in:
parent
ce292c4c55
commit
ddd311ca98
@ -488,10 +488,13 @@ bool ParserLiteral::parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parse
|
||||
const char * ParserAlias::restricted_keywords[] =
|
||||
{
|
||||
"FROM",
|
||||
"FINAL",
|
||||
"SAMPLE",
|
||||
"ARRAY",
|
||||
"LEFT",
|
||||
"RIGHT",
|
||||
"INNER",
|
||||
"FULL",
|
||||
"CROSS",
|
||||
"JOIN",
|
||||
"ANY",
|
||||
|
@ -107,14 +107,14 @@ bool ParserJoin::parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_p
|
||||
if (!exp_list.parse(pos, end, join->using_expr_list, max_parsed_pos, expected))
|
||||
return false;
|
||||
|
||||
ws.ignore(pos, end);
|
||||
|
||||
if (in_parens)
|
||||
{
|
||||
ws.ignore(pos, end);
|
||||
if (!ParserString(")").ignore(pos, end))
|
||||
return false;
|
||||
}
|
||||
|
||||
ws.ignore(pos, end);
|
||||
}
|
||||
else if (s_on.ignore(pos, end, max_parsed_pos, expected))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user