Skip to content

Commit ab5a7b9

Browse files
authored
Update ColumnObject.cpp
1 parent cc697ab commit ab5a7b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Columns/ColumnObject.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2146,8 +2146,8 @@ void ColumnObject::repairDuplicatesInDynamicPathsAndSharedData(size_t offset)
21462146
/// and we cannot repair it anyhow. Throw logical error exception in this case.
21472147
else
21482148
{
2149-
auto value = shared_data_values->getDataAt(j).toView();
2150-
ReadBufferFromMemory buf(value);
2149+
auto value = shared_data_values->getDataAt(j);
2150+
ReadBufferFromMemory buf(value.data, value.size);
21512151
auto type_from_shared_data = decodeDataType(buf);
21522152
if (!isNothing(type_from_shared_data))
21532153
{

0 commit comments

Comments
 (0)