Minor fix

This commit is contained in:
Ivan 2020-11-18 16:20:40 +03:00 committed by GitHub
parent fb473e6f9c
commit 4c75637ee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ void MarkTableIdentifiersMatcher::visit(const ASTFunction & func, ASTPtr & ptr,
{
if (func.arguments->children.empty())
return;
auto & ast = func.arguments->children.at(0);
auto ast = func.arguments->children.at(0);
auto opt_name = tryGetIdentifierName(ast);
if (opt_name && !data.aliases.count(*opt_name) && ast->as<ASTIdentifier>())
{