mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
dbms: fixed error with big inserts through HTTP [#METR-10955].
This commit is contained in:
parent
17a10c082a
commit
a0d87ca85e
@ -27,7 +27,7 @@ protected:
|
||||
/// Первое чтение
|
||||
if (working_buffer.size() == 0 && (*current)->position() != (*current)->buffer().end())
|
||||
{
|
||||
working_buffer = (*current)->buffer();
|
||||
working_buffer = Buffer((*current)->position(), (*current)->buffer().end());
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ protected:
|
||||
}
|
||||
}
|
||||
|
||||
working_buffer = (*current)->buffer();
|
||||
working_buffer = Buffer((*current)->position(), (*current)->buffer().end());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user