fix:style

Signed-off-by: una <dengmengda@gmail.com>
This commit is contained in:
una 2023-12-27 19:59:23 +08:00
parent a6f2eaf5a6
commit 0181bab23c

View File

@ -138,7 +138,6 @@ namespace ErrorCodes
std::unique_ptr<IInterpreter> InterpreterFactory::get(ASTPtr & query, ContextMutablePtr context, const SelectQueryOptions & options) std::unique_ptr<IInterpreter> InterpreterFactory::get(ASTPtr & query, ContextMutablePtr context, const SelectQueryOptions & options)
{ {
ProfileEvents::increment(ProfileEvents::Query); ProfileEvents::increment(ProfileEvents::Query);
if (context->getClientInfo().query_kind == ClientInfo::QueryKind::INITIAL_QUERY) if (context->getClientInfo().query_kind == ClientInfo::QueryKind::INITIAL_QUERY)
ProfileEvents::increment(ProfileEvents::InitialQuery); ProfileEvents::increment(ProfileEvents::InitialQuery);
/// SELECT and INSERT query will handle QueriesWithSubqueries on their own. /// SELECT and INSERT query will handle QueriesWithSubqueries on their own.