提交 efc531c9 编写于 作者: M millb

Working commit

上级 044ee602
......@@ -299,11 +299,7 @@ ReturnType readIntTextImpl(T & x, ReadBuffer & buf)
res += *buf.position() - '0';
break;
default:
x = negative ? -res : res;
if (!buf.eof())
throw Exception("Invalid characters used", ErrorCodes::CANNOT_PARSE_NUMBER);
else
return ReturnType(true);
throw Exception("Invalid characters used", ErrorCodes::CANNOT_PARSE_NUMBER);
}
++buf.position();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册