mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
dbms: fixed error in prev. revision [#METR-10988].
This commit is contained in:
parent
0933f94c5d
commit
7d534675af
@ -90,8 +90,10 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
void * new_buf = alloc(new_size);
|
||||
memcpy(new_buf, buf, old_size);
|
||||
free(buf, old_size);
|
||||
buf = alloc(new_size);
|
||||
buf = new_buf;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user