fix WhiteScan CHECKED_RETURN

This commit is contained in:
tj0
2021-09-14 20:11:25 +08:00
committed by wangzelin.wzl
parent ad8e3075af
commit 6e4b5bcd72
2 changed files with 7 additions and 3 deletions

View File

@ -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)) {