dbms: fixed error with big inserts through HTTP [#METR-10955].

This commit is contained in:
Alexey Milovidov 2014-04-25 00:18:00 +04:00
parent 17a10c082a
commit a0d87ca85e

View File

@ -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;
}