mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Fix ANTLR parser tests
This commit is contained in:
parent
263d751d64
commit
0854dccfde
@ -23,7 +23,7 @@ void RewriteCountVariantsVisitor::visit(ASTPtr & node)
|
||||
|
||||
void RewriteCountVariantsVisitor::visit(ASTFunction & func)
|
||||
{
|
||||
if (func.arguments->children.empty() || func.arguments->children.size() > 1 || !func.arguments->children[0])
|
||||
if (!func.arguments || func.arguments->children.empty() || func.arguments->children.size() > 1 || !func.arguments->children[0])
|
||||
return;
|
||||
|
||||
auto name = Poco::toLower(func.name);
|
||||
|
Loading…
Reference in New Issue
Block a user