mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Addition to prev. revision #1665
This commit is contained in:
parent
e8385f6778
commit
81187e48b2
@ -201,7 +201,7 @@ void readIntTextUpToNChars(T & x, ReadBuffer & buf)
|
||||
negative = true;
|
||||
}
|
||||
|
||||
for (size_t i = 0; !buf.eof(); ++i)
|
||||
for (size_t i = 0; !buf.eof() && i < N; ++i)
|
||||
{
|
||||
if ((*buf.position() & 0xF0) == 0x30)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user