mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 02:30:51 +00:00
fix parser
This commit is contained in:
parent
f67cd0d3f2
commit
875a8ab2c3
@ -241,9 +241,7 @@ bool ParserSelectQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||
if (top_length && limit_length)
|
||||
throw Exception("Can not use TOP and LIMIT together", ErrorCodes::TOP_AND_LIMIT_TOGETHER);
|
||||
}
|
||||
|
||||
|
||||
if (s_offset.ignore(pos, expected))
|
||||
else if (s_offset.ignore(pos, expected))
|
||||
{
|
||||
if (!exp_elem.parse(pos, limit_offset, expected))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user