提交 14c0093a 编写于 作者: M millb

Added assertEOF

上级 8ad70496
......@@ -310,8 +310,7 @@ template <typename T>
void completeReadIntTextImpl(T & x, ReadBuffer & buf)
{
readIntTextImpl<T, void>(x, buf);
if (!buf.eof())
throw Exception("Invalid characters used", ErrorCodes::CANNOT_PARSE_NUMBER);
assertEOF(buf);
}
template <typename T>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册