mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
fix
This commit is contained in:
parent
3be49eeedb
commit
d274d4a579
@ -98,7 +98,7 @@ void pushOr(ASTPtr & query)
|
||||
{
|
||||
auto & child = or_func->arguments->children[i];
|
||||
auto * and_func = child->as<ASTFunction>();
|
||||
if (and_func->name == "and")
|
||||
if (and_func && and_func->name == "and")
|
||||
{
|
||||
and_node_id = i;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user