diff --git a/dbms/src/Functions/FunctionsConditional.cpp b/dbms/src/Functions/FunctionsConditional.cpp index ca5b3f1e875..178a0a7dce5 100644 --- a/dbms/src/Functions/FunctionsConditional.cpp +++ b/dbms/src/Functions/FunctionsConditional.cpp @@ -203,7 +203,7 @@ void FunctionMultiIf::executeImpl(Block & block, const ColumnNumbers & args, siz else if (origin.isNullable()) { const ColumnNullable & origin_nullable = static_cast(origin); - null_map = origin_nullable.getNullValuesByteMap().get()->clone(); + null_map = origin_nullable.getNullValuesByteMap(); } else null_map = std::make_shared(row_count, 0);