mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
fix bug
This commit is contained in:
parent
384cef7242
commit
e505df5198
@ -297,7 +297,7 @@ int copy_decompressor(const char *self, int output_fd)
|
||||
return 1;
|
||||
}
|
||||
|
||||
char buf[1ul<<19];
|
||||
char *buf = new char[1ul<<19];
|
||||
ssize_t n = 0;
|
||||
do
|
||||
{
|
||||
@ -327,7 +327,7 @@ int copy_decompressor(const char *self, int output_fd)
|
||||
} while (true);
|
||||
|
||||
close(input_fd);
|
||||
|
||||
delete []buf;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user