mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: style fix [#CONV-2807].
This commit is contained in:
parent
2d8cac6579
commit
155e3e8e05
@ -28,7 +28,7 @@ namespace DB
|
||||
{
|
||||
|
||||
|
||||
static std::string * GetAlias(ASTPtr & ast)
|
||||
static std::string * getAlias(ASTPtr & ast)
|
||||
{
|
||||
if (ASTFunction * node = dynamic_cast<ASTFunction *>(&*ast))
|
||||
{
|
||||
@ -113,7 +113,7 @@ void ExpressionAnalyzer::createAliasesDict(ASTPtr & ast)
|
||||
if (!dynamic_cast<ASTSelectQuery *>(&**it))
|
||||
createAliasesDict(*it);
|
||||
|
||||
std::string * alias = GetAlias(ast);
|
||||
std::string * alias = getAlias(ast);
|
||||
if (alias && !alias->empty())
|
||||
{
|
||||
if (aliases.count(*alias) && ast->getTreeID() != aliases[*alias]->getTreeID())
|
||||
|
Loading…
Reference in New Issue
Block a user