issue-7224 Codestyle changes

This commit is contained in:
Nikita Orlov 2020-05-23 02:37:14 +03:00
parent 2545efcf2e
commit 09255b7c46
No known key found for this signature in database
GPG Key ID: 5EC6AFD56F125B5F

View File

@ -564,11 +564,14 @@ static std::tuple<ASTPtr, BlockIO> executeQueryImpl(
}
ProfileEvents::increment(ProfileEvents::FailedQuery);
if (ast->as<ASTInsertQuery>()) {
ProfileEvents::increment(ProfileEvents::FailedInsertQuery);
} else if (ast->as<ASTSelectQuery>() || ast->as<ASTSelectWithUnionQuery>()) {
if (ast->as<ASTSelectQuery>() || ast->as<ASTSelectWithUnionQuery>())
{
ProfileEvents::increment(ProfileEvents::FailedSelectQuery);
}
else if (ast->as<ASTInsertQuery>())
{
ProfileEvents::increment(ProfileEvents::FailedInsertQuery);
}
};