mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
Fix unused variable in transformQueryForExternalDatabase
This commit is contained in:
parent
91180fa06f
commit
7b494c63b8
@ -181,7 +181,7 @@ bool removeUnknownSubexpressions(ASTPtr & node, const NameSet & known_names)
|
||||
if (const auto * ident = node->as<ASTIdentifier>())
|
||||
return known_names.contains(ident->name());
|
||||
|
||||
if (const auto * lit = node->as<ASTLiteral>())
|
||||
if (node->as<ASTLiteral>() != nullptr)
|
||||
return true;
|
||||
|
||||
auto * func = node->as<ASTFunction>();
|
||||
|
Loading…
Reference in New Issue
Block a user