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
2ca5e85327
commit
2efd067a5c
@ -434,7 +434,7 @@ void ColumnNullable::checkConsistency() const
|
|||||||
MutableColumnPtr makeNullable(MutableColumnPtr && column)
|
MutableColumnPtr makeNullable(MutableColumnPtr && column)
|
||||||
{
|
{
|
||||||
if (column->isColumnNullable())
|
if (column->isColumnNullable())
|
||||||
return column;
|
return std::move(column);
|
||||||
|
|
||||||
if (column->isColumnConst())
|
if (column->isColumnConst())
|
||||||
return ColumnConst::create(makeNullable(static_cast<ColumnConst &>(*column).getDataColumnPtr()->assumeMutable())
|
return ColumnConst::create(makeNullable(static_cast<ColumnConst &>(*column).getDataColumnPtr()->assumeMutable())
|
||||||
|
Loading…
Reference in New Issue
Block a user