mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +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>())
|
if (const auto * ident = node->as<ASTIdentifier>())
|
||||||
return known_names.contains(ident->name());
|
return known_names.contains(ident->name());
|
||||||
|
|
||||||
if (const auto * lit = node->as<ASTLiteral>())
|
if (node->as<ASTLiteral>() != nullptr)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
auto * func = node->as<ASTFunction>();
|
auto * func = node->as<ASTFunction>();
|
||||||
|
Loading…
Reference in New Issue
Block a user