mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
dbms: fixed error with ParserAlterQuery [#METR-13097].
This commit is contained in:
parent
d852ef480b
commit
69942f38d4
@ -90,7 +90,8 @@ bool ParserAlterQuery::parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_pa
|
|||||||
return false;
|
return false;
|
||||||
ws.ignore(pos, end);
|
ws.ignore(pos, end);
|
||||||
|
|
||||||
parser_col_decl.parse(pos, end, params.col_decl, max_parsed_pos, expected);
|
if (!parser_col_decl.parse(pos, end, params.col_decl, max_parsed_pos, expected))
|
||||||
|
return false;
|
||||||
|
|
||||||
ws.ignore(pos, end);
|
ws.ignore(pos, end);
|
||||||
if (s_after.ignore(pos, end, max_parsed_pos, expected))
|
if (s_after.ignore(pos, end, max_parsed_pos, expected))
|
||||||
|
Loading…
Reference in New Issue
Block a user