mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update ParserInsertQuery.cpp
This commit is contained in:
parent
7999d90900
commit
186020d906
@ -132,11 +132,14 @@ bool ParserInsertQuery::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||
return false;
|
||||
}
|
||||
|
||||
/// Read format name
|
||||
if (!s_format.ignore(pos, expected) || !name_p.parse(pos, format, expected))
|
||||
return false;
|
||||
/// Read format name if any.
|
||||
if (s_format.ignore(pos, expected))
|
||||
{
|
||||
if (!name_p.parse(pos, format, expected))
|
||||
return false;
|
||||
|
||||
tryGetIdentifierNameInto(format, format_str);
|
||||
tryGetIdentifierNameInto(format, format_str);
|
||||
}
|
||||
}
|
||||
else if (s_values.ignore(pos, expected))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user