Fixed build [#CLICKHOUSE-2]

This commit is contained in:
Alexey Milovidov 2017-12-25 10:18:27 +03:00
parent 04eb0b896c
commit 454de9243e

View File

@ -391,7 +391,7 @@ struct ConvertThroughParsing
typename ColumnVector<ToFieldType>::Container & vec_to = col_to->getData();
ColumnUInt8::MutablePtr col_null_map_to;
ColumnUInt8::Container * vec_null_map_to = nullptr;
ColumnUInt8::Container * vec_null_map_to [[maybe_unused]] = nullptr;
if constexpr (mode == ConvertFromStringExceptionMode::Null)
{
col_null_map_to = ColumnUInt8::create(size);