From 5413e913039913c253a949f6ae6495f67eb423ee Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Mon, 19 Mar 2018 20:17:41 +0300 Subject: [PATCH] fix build --- dbms/src/DataTypes/NestedUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/DataTypes/NestedUtils.cpp b/dbms/src/DataTypes/NestedUtils.cpp index cd96be8e0c8..65d0c0edeb5 100644 --- a/dbms/src/DataTypes/NestedUtils.cpp +++ b/dbms/src/DataTypes/NestedUtils.cpp @@ -131,7 +131,7 @@ Block flatten(const Block & block) for (size_t i = 0; i < tuple_size; ++i) { String nested_name = concatenateName(elem.name, names[i]); - ColumnPtr column_array_of_element = ColumnArray::create(element_columns[i], column_offsets); + ColumnPtr column_array_of_element = ColumnArray::create((*std::move(element_columns[i])).mutate(), column_offsets); res.insert(ColumnWithTypeAndName( is_const