dbms: cleanup [#METR-19266]

This commit is contained in:
Alexey Arno 2016-08-16 15:25:45 +03:00
parent fa700f986f
commit 0efc990f67

View File

@ -47,18 +47,7 @@ ColumnPtr ColumnNullable::convertToFullColumnIfConst() const
{
new_col_holder = std::make_shared<ColumnNullable>(full_col);
ColumnNullable & new_col = static_cast<ColumnNullable &>(*new_col_holder);
if (!getNullMapContent().empty())
new_col.null_map = null_map;
else
{
size_t n = nested_column->size();
if (n > 0)
{
new_col.null_map = std::make_shared<ColumnUInt8>();
new_col.getNullMapContent().getData().resize_fill(n, 0);
}
}
new_col.null_map = null_map;
}
return new_col_holder;