提交 6e4b5bcd 编写于 作者: T tj0 提交者: wangzelin.wzl

fix WhiteScan CHECKED_RETURN

上级 ad8e3075
......@@ -8082,10 +8082,12 @@ int obj_collation_check(const bool is_strict_mode, const ObCollationType cs_type
int64_t well_formed_len = 0;
if (ob_is_lob_locator(obj.get_type())) {
if (OB_FAIL(obj.get_string(str))) {
STORAGE_LOG(WARN, "Failed to get payload from lob locator", K(ret), K(obj));
LOG_WARN("Failed to get payload from lob locator", K(ret), K(obj));
}
} else {
obj.get_string(str);
if (OB_FAIL(obj.get_string(str))) {
LOG_WARN("Failed to get payload from string", K(ret), K(obj));
}
}
if (OB_FAIL(ret)) {
......
......@@ -573,7 +573,9 @@ int ObExprCast::calc_result2(ObObj& result, const ObObj& obj1, const ObObj& obj2
} else {
buf_obj1 = *to_type_obj;
buf_obj1.set_collation(result_type_);
buf_obj1.get_string(text);
if (OB_FAIL(buf_obj1.get_string(text))) {
LOG_WARN("Failed to get buf_obj1 string", K(ret));
}
}
if (OB_FAIL(ret)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册