mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
dbms: fixed Null pointer [#METR-10498]
This commit is contained in:
parent
61ebb6ea34
commit
d9e931a8fe
@ -500,7 +500,8 @@ void ExpressionAnalyzer::normalizeTreeImpl(ASTPtr & ast, MapOfASTs & finished_as
|
||||
|
||||
void ExpressionAnalyzer::makeExplicitSets(bool create_ordered_set)
|
||||
{
|
||||
makeExplicitSetsRecursively(ast, storage->getSampleBlock(), create_ordered_set);
|
||||
if (storage && ast)
|
||||
makeExplicitSetsRecursively(ast, storage->getSampleBlock(), create_ordered_set);
|
||||
}
|
||||
|
||||
void ExpressionAnalyzer::makeExplicitSetsRecursively(ASTPtr & node, const Block & sample_block, bool create_ordered_set)
|
||||
|
Loading…
Reference in New Issue
Block a user