mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix error
This commit is contained in:
parent
04d8f611d2
commit
c2faf450d1
@ -281,7 +281,7 @@ ReturnType readIntTextImpl(T & x, ReadBuffer & buf)
|
||||
{
|
||||
/// 123+ or +123+, just stop after 123 or +123.
|
||||
if (has_number)
|
||||
return ReturnType(true);
|
||||
goto end;
|
||||
|
||||
/// No digits read yet, but we already read sign, like ++, -+.
|
||||
if (has_sign)
|
||||
@ -300,7 +300,7 @@ ReturnType readIntTextImpl(T & x, ReadBuffer & buf)
|
||||
case '-':
|
||||
{
|
||||
if (has_number)
|
||||
return ReturnType(true);
|
||||
goto end;
|
||||
|
||||
if (has_sign)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user