mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
to MaterializeMySQL_support_drop_mulit_table-fix code-style
This commit is contained in:
parent
6a998917b0
commit
47385d259c
@ -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)
|
||||
|
@ -129,7 +129,6 @@ bool ParserDropQuery::parseImpl(IParser::Pos & pos, ASTPtr & node, Expected & ex
|
||||
query->is_temporary = is_temporary;
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -27,7 +27,6 @@ public:
|
||||
Index,
|
||||
/// TRIGGER,FUNCTION,EVENT and so on, No need for support
|
||||
Other,
|
||||
|
||||
};
|
||||
Kind kind;
|
||||
struct QualifiedName
|
||||
|
Loading…
Reference in New Issue
Block a user