mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Added suggestion from Chen Yufei #1665
This commit is contained in:
parent
7a25b441f4
commit
8b7fe2d23e
@ -202,7 +202,7 @@ ReturnType readFloatTextPreciseImpl(T & x, ReadBuffer & buf)
|
||||
0, 0, nullptr, nullptr);
|
||||
|
||||
/// Fast path (avoid copying) if the buffer have at least MAX_LENGTH bytes.
|
||||
static constexpr int MAX_LENGTH = 310;
|
||||
static constexpr int MAX_LENGTH = 316;
|
||||
|
||||
if (buf.position() + MAX_LENGTH <= buf.buffer().end())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user