dbms: fixed error with ParserAlterQuery [#METR-13097].

This commit is contained in:
Alexey Milovidov 2015-12-09 05:27:45 +03:00
parent d852ef480b
commit 69942f38d4

View File

@ -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))