mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge branch 'master' into fix_scope_of_interpreter_select_query_in_mutations
This commit is contained in:
commit
d80e8dfde3
@ -170,7 +170,7 @@ String getObjectDefinitionFromCreateQuery(const ASTPtr & query)
|
||||
if (!create)
|
||||
{
|
||||
std::ostringstream query_stream;
|
||||
formatAST(*create, query_stream, true);
|
||||
formatAST(*query, query_stream, true);
|
||||
throw Exception("Query '" + query_stream.str() + "' is not CREATE query", ErrorCodes::LOGICAL_ERROR);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user