Better semantic of sharing columns: fixed error [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-12-19 04:53:54 +03:00
parent 50d09f08f5
commit aba63cc76f

View File

@ -29,10 +29,10 @@ class IColumn : public COWPtr<IColumn>
private:
friend class COWPtr<IColumn>;
public:
/// Creates the same column with the same data.
virtual MutablePtr clone() const = 0;
public:
/// Name of a Column. It is used in info messages.
virtual std::string getName() const { return getFamilyName(); };