mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
Update ParserDropQuery.cpp
This commit is contained in:
parent
1c361d0daa
commit
e52508b912
@ -55,7 +55,7 @@ bool parseDropQuery(IParser::Pos & pos, ASTPtr & node, Expected & expected, cons
|
||||
else if (s_all.ignore(pos, expected) && s_tables.ignore(pos, expected) && kind == ASTDropQuery::Kind::Truncate)
|
||||
{
|
||||
has_all_tables = true;
|
||||
if (s_from.ignore(pos, expected))
|
||||
if (!s_from.ignore(pos, expected))
|
||||
return false;
|
||||
|
||||
if (s_if_exists.ignore(pos, expected))
|
||||
|
Loading…
Reference in New Issue
Block a user