Add error codes for sql module, !! Please Read Task Description Carefully!!

This commit is contained in:
obdev
2023-08-01 17:18:33 +00:00
committed by ob-robot
parent a706aa36a0
commit a56c5b6dec
63 changed files with 106 additions and 67 deletions

View File

@ -150,7 +150,7 @@ int ObExprTzOffset::eval_tz_offset(const ObExpr &expr, ObEvalCtx &ctx, ObDatum &
res_str_utf8, ObCharset::get_system_collation(),
res_str, out_cs_type, calc_alloc))) {
LOG_WARN("convert string coll failed", K(ret), K(res_str_utf8), K(out_cs_type));
} else if (ObExprUtil::deep_copy_str(res_str, res_str, res_alloc)) {
} else if (OB_FAIL(ObExprUtil::deep_copy_str(res_str, res_str, res_alloc))) {
LOG_WARN("copy str failed", K(ret));
} else {
res.set_string(res_str);