mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix non-select queries
This commit is contained in:
parent
3afcccaad2
commit
b6a5d2f8e9
@ -68,6 +68,12 @@ void ApplyWithGlobalVisitor::visit(ASTPtr & ast)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Other non-SELECT queries that contains SELECT children, such as EXPLAIN or INSERT
|
||||
for (auto & child : ast->children)
|
||||
visit(child);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user