mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Addition to prev. revision [#CLICKHOUSE-2]
This commit is contained in:
parent
bf443fcfa0
commit
f93ede0182
@ -827,11 +827,14 @@ ColumnPtr ColumnArray::replicateString(const Offsets & replicate_offsets) const
|
||||
prev_src_string_offset_local += chars_size;
|
||||
}
|
||||
|
||||
if (sum_chars_size)
|
||||
{
|
||||
/// Copies the characters of the array of rows.
|
||||
res_chars.resize(res_chars.size() + sum_chars_size);
|
||||
memcpySmallAllowReadWriteOverflow15(
|
||||
&res_chars[res_chars.size() - sum_chars_size], &src_chars[prev_src_string_offset], sum_chars_size);
|
||||
}
|
||||
}
|
||||
|
||||
prev_replicate_offset = replicate_offsets[i];
|
||||
prev_src_offset = src_offsets[i];
|
||||
|
Loading…
Reference in New Issue
Block a user