mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
Working commit
This commit is contained in:
parent
001e113ca6
commit
044ee602e4
@ -300,7 +300,10 @@ ReturnType readIntTextImpl(T & x, ReadBuffer & buf)
|
||||
break;
|
||||
default:
|
||||
x = negative ? -res : res;
|
||||
return ReturnType(true);
|
||||
if (!buf.eof())
|
||||
throw Exception("Invalid characters used", ErrorCodes::CANNOT_PARSE_NUMBER);
|
||||
else
|
||||
return ReturnType(true);
|
||||
}
|
||||
++buf.position();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user