to MaterializeMySQL_support_drop_mulit_table-fix code-style

This commit is contained in:
zzsmdfj 2022-11-18 23:03:24 +08:00
parent 6a998917b0
commit 47385d259c
3 changed files with 8 additions and 10 deletions

View File

@ -549,7 +549,7 @@ ASTs InterpreterDropImpl::getRewrittenQueries(
return {};
TQuery::QualifiedNames tables = drop_query.names;
ASTs rewritten_querys;
for(const auto & table: tables)
for (const auto & table: tables)
{
const auto & database_name = resolveDatabase(table.schema, mysql_database, mapped_to_database, context);
if (database_name != mapped_to_database)

View File

@ -129,7 +129,6 @@ bool ParserDropQuery::parseImpl(IParser::Pos & pos, ASTPtr & node, Expected & ex
query->is_temporary = is_temporary;
return true;
}
}

View File

@ -27,7 +27,6 @@ public:
Index,
/// TRIGGER,FUNCTION,EVENT and so on, No need for support
Other,
};
Kind kind;
struct QualifiedName