[json/xml/gis/lob]codescan ret miss and overwrite

This commit is contained in:
Carrot-77
2024-04-16 07:45:30 +00:00
committed by ob-robot
parent 1ee64365ea
commit eabb1ecfb0
6 changed files with 14 additions and 10 deletions

View File

@ -395,6 +395,7 @@ int ObExprJsonMergePatch::eval_ora_json_merge_patch(const ObExpr &expr, ObEvalCt
if (dst_type == ObVarcharType && length > dst_len) {
char res_ptr[OB_MAX_DECIMAL_PRECISION] = {0};
if (OB_ISNULL(ObCharset::lltostr(dst_len, res_ptr, 10, 1))) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("failed to lltostr", K(ret), K(dst_len));
}
if (!err_type) {