mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
removed throw
This commit is contained in:
parent
183ddea518
commit
4f48ebd971
@ -93,14 +93,12 @@ void ASTAlterCommand::formatImpl(
|
||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << indent_str << " AFTER " << (settings.hilite ? hilite_none : "");
|
||||
index->formatImpl(settings, state, frame);
|
||||
}
|
||||
throw Exception("ADD/DROP INDEX is not implemented", ErrorCodes::LOGICAL_ERROR);
|
||||
}
|
||||
else if (type == ASTAlterCommand::DROP_INDEX)
|
||||
{
|
||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << indent_str
|
||||
<< "DROP INDEX " << (if_exists ? "IF EXISTS " : "") << (settings.hilite ? hilite_none : "");
|
||||
index->formatImpl(settings, state, frame);
|
||||
throw Exception("ADD/DROP INDEX is not implemented", ErrorCodes::LOGICAL_ERROR);
|
||||
}
|
||||
else if (type == ASTAlterCommand::DROP_PARTITION)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user