mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Do not throw from Parser
This commit is contained in:
parent
fc9c440d3e
commit
858c2a474a
@ -228,7 +228,8 @@ bool ParserTablePropertiesDeclarationList::parseImpl(Pos & pos, ASTPtr & node, E
|
||||
{
|
||||
if (primary_key)
|
||||
{
|
||||
throw Exception("Multiple primary keys are not allowed.", ErrorCodes::BAD_ARGUMENTS);
|
||||
/// Multiple primary keys are not allowed.
|
||||
return false;
|
||||
}
|
||||
primary_key = elem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user