dbms: Cleanup [#METR-19266]

This commit is contained in:
Alexey Arno 2016-08-05 15:56:32 +03:00
parent 38331e93e7
commit 06428778c3

View File

@ -203,7 +203,7 @@ void FunctionMultiIf::executeImpl(Block & block, const ColumnNumbers & args, siz
else if (origin.isNullable()) else if (origin.isNullable())
{ {
const ColumnNullable & origin_nullable = static_cast<const ColumnNullable &>(origin); const ColumnNullable & origin_nullable = static_cast<const ColumnNullable &>(origin);
null_map = origin_nullable.getNullValuesByteMap().get()->clone(); null_map = origin_nullable.getNullValuesByteMap();
} }
else else
null_map = std::make_shared<ColumnUInt8>(row_count, 0); null_map = std::make_shared<ColumnUInt8>(row_count, 0);