mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix PODArray::resize_fill
This commit is contained in:
parent
c2c5128638
commit
227312875c
@ -216,7 +216,7 @@ public:
|
||||
if (n > old_size)
|
||||
{
|
||||
reserve(n);
|
||||
memset(c_end, 0, n - old_size);
|
||||
memset(c_end, 0, byte_size(n - old_size));
|
||||
}
|
||||
c_end = c_start + byte_size(n);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user