mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
fix build
This commit is contained in:
parent
da968db041
commit
2fbe3d3749
@ -83,9 +83,9 @@ MutableColumnPtr wrapInNullable(MutableColumnPtr && src, Block & block, const Co
|
|||||||
return makeNullable(std::move(src_not_nullable));
|
return makeNullable(std::move(src_not_nullable));
|
||||||
|
|
||||||
if (src_not_nullable->isColumnConst())
|
if (src_not_nullable->isColumnConst())
|
||||||
return ColumnNullable::create(src_not_nullable->convertToFullColumnIfConst(), result_null_map_column);
|
return ColumnNullable::create(src_not_nullable->convertToFullColumnIfConst(), std::move(result_null_map_column));
|
||||||
else
|
else
|
||||||
return ColumnNullable::create(src_not_nullable, result_null_map_column);
|
return ColumnNullable::create(src_not_nullable, std::move(result_null_map_column));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ static void appendBlock(const Block & from, Block & to)
|
|||||||
for (size_t column_no = 0, columns = to.columns(); column_no < columns; ++column_no)
|
for (size_t column_no = 0, columns = to.columns(); column_no < columns; ++column_no)
|
||||||
{
|
{
|
||||||
const IColumn & col_from = *from.getByPosition(column_no).column.get();
|
const IColumn & col_from = *from.getByPosition(column_no).column.get();
|
||||||
MutableColumnPtr col_to = to.getByPosition(column_no).column->mutate();
|
MutableColumnPtr col_to = (*std::move(to.getByPosition(column_no).column)).mutate();
|
||||||
|
|
||||||
col_to->insertRangeFrom(col_from, 0, rows);
|
col_to->insertRangeFrom(col_from, 0, rows);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user