remove unused IAST field

This commit is contained in:
Alexey Zatelepin 2019-01-17 18:52:29 +03:00
parent b50fa22606
commit addc9a43b0
2 changed files with 0 additions and 4 deletions

View File

@ -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))

View File

@ -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;