提交 e387d942 编写于 作者: A Alexey Milovidov

More verbose error message when conversion function cannot parse value from string [#METR-22408].

上级 09563dc4
......@@ -22,7 +22,7 @@ void throwExceptionForIncompletelyParsedValue(
else
message_buf << " at begin of string";
if (to_type.isNumeric())
if (to_type.behavesAsNumber())
message_buf << ". Note: there are to" << to_type.getName() << "OrZero function, which returns zero instead of throwing exception.";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册