mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Update reinterpretAs.cpp
This commit is contained in:
parent
8712b4d488
commit
d6a5f20e6d
@ -321,7 +321,7 @@ private:
|
||||
--data.size;
|
||||
|
||||
data_to.resize(offset + data.size + 1);
|
||||
memcpy(data_to.data() + offset, data.data, data.size);
|
||||
memcpy(&data_to[offset], data.data, data.size);
|
||||
offset += data.size;
|
||||
data_to[offset] = 0;
|
||||
++offset;
|
||||
|
Loading…
Reference in New Issue
Block a user