mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
remove unused IAST field
This commit is contained in:
parent
b50fa22606
commit
addc9a43b0
@ -345,7 +345,6 @@ ASTPtr InterpreterCreateQuery::formatColumns(const NamesAndTypesList & columns)
|
||||
|
||||
ParserIdentifierWithOptionalParameters storage_p;
|
||||
column_declaration->type = parseQuery(storage_p, pos, end, "data type", 0);
|
||||
column_declaration->type->owned_string = type_name;
|
||||
columns_list->children.emplace_back(column_declaration);
|
||||
}
|
||||
|
||||
@ -369,7 +368,6 @@ ASTPtr InterpreterCreateQuery::formatColumns(const ColumnsDescription & columns)
|
||||
|
||||
ParserIdentifierWithOptionalParameters storage_p;
|
||||
column_declaration->type = parseQuery(storage_p, type_name_pos, type_name_end, "data type", 0);
|
||||
column_declaration->type->owned_string = type_name;
|
||||
|
||||
const auto defaults_it = columns.defaults.find(column.name);
|
||||
if (defaults_it != std::end(columns.defaults))
|
||||
|
@ -56,8 +56,6 @@ public:
|
||||
ASTs children;
|
||||
StringRange range;
|
||||
|
||||
/// This pointer does not allow it to be deleted while the range refers to it.
|
||||
StringPtr owned_string;
|
||||
SemanticPtr semantic;
|
||||
|
||||
virtual ~IAST() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user