fix WhiteScan CHECKED_RETURN
This commit is contained in:
@ -8082,10 +8082,12 @@ int obj_collation_check(const bool is_strict_mode, const ObCollationType cs_type
|
|||||||
int64_t well_formed_len = 0;
|
int64_t well_formed_len = 0;
|
||||||
if (ob_is_lob_locator(obj.get_type())) {
|
if (ob_is_lob_locator(obj.get_type())) {
|
||||||
if (OB_FAIL(obj.get_string(str))) {
|
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 {
|
} 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)) {
|
if (OB_FAIL(ret)) {
|
||||||
|
|
||||||
|
|||||||
@ -573,7 +573,9 @@ int ObExprCast::calc_result2(ObObj& result, const ObObj& obj1, const ObObj& obj2
|
|||||||
} else {
|
} else {
|
||||||
buf_obj1 = *to_type_obj;
|
buf_obj1 = *to_type_obj;
|
||||||
buf_obj1.set_collation(result_type_);
|
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)) {
|
if (OB_FAIL(ret)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user