mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +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())
|
if (working_buffer.size() == 0 && (*current)->position() != (*current)->buffer().end())
|
||||||
{
|
{
|
||||||
working_buffer = (*current)->buffer();
|
working_buffer = Buffer((*current)->position(), (*current)->buffer().end());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ protected:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
working_buffer = (*current)->buffer();
|
working_buffer = Buffer((*current)->position(), (*current)->buffer().end());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user