Brace style fix

This commit is contained in:
Gleb Novikov 2019-06-02 18:08:28 +03:00
parent e7293486bd
commit 33f0ebd8ab

View File

@ -356,7 +356,8 @@ void AlterCommand::apply(ColumnsDescription & columns_description, IndicesDescri
return constraint_ast->as<ASTConstraintDeclaration &>().name == constraint_name;
});
if (erase_it == constraints_description.constraints.end()) {
if (erase_it == constraints_description.constraints.end())
{
if (if_exists)
return;
throw Exception("Wrong constraint name. Cannot find constraint `" + constraint_name + "` to drop.",