mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix gcc9 build
This commit is contained in:
parent
68dc399d0d
commit
aad6669afb
@ -938,7 +938,7 @@ SyntaxAnalyzerResultPtr SyntaxAnalyzer::analyzeSelect(
|
|||||||
|
|
||||||
SyntaxAnalyzerResultPtr SyntaxAnalyzer::analyze(ASTPtr & query, const NamesAndTypesList & source_columns, StoragePtr storage) const
|
SyntaxAnalyzerResultPtr SyntaxAnalyzer::analyze(ASTPtr & query, const NamesAndTypesList & source_columns, StoragePtr storage) const
|
||||||
{
|
{
|
||||||
if (auto * select_query = query->as<ASTSelectQuery>())
|
if (query->as<ASTSelectQuery>())
|
||||||
throw Exception("Not select analyze for select asts.", ErrorCodes::LOGICAL_ERROR);
|
throw Exception("Not select analyze for select asts.", ErrorCodes::LOGICAL_ERROR);
|
||||||
|
|
||||||
const auto & settings = context.getSettingsRef();
|
const auto & settings = context.getSettingsRef();
|
||||||
|
Loading…
Reference in New Issue
Block a user