[FEAT MERGE] Fix the error code loss and overwriting issues on the master branch
Co-authored-by: jingtaoye35 <1255153887@qq.com> Co-authored-by: fkuner <784819644@qq.com> Co-authored-by: lucky-sinx <2549261744@qq.com>
This commit is contained in:
@ -57,7 +57,7 @@ int ObExprTimeFormat::time_to_str_format(const int64_t &time_value, const ObStri
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
ObTime ob_time;
|
||||
if (ObTimeConverter::time_to_ob_time(time_value, ob_time)) {
|
||||
if (OB_FAIL(ObTimeConverter::time_to_ob_time(time_value, ob_time))) {
|
||||
LOG_WARN("time to ob time failed", K(ret), K(time_value));
|
||||
} else if (OB_ISNULL(format.ptr()) || OB_ISNULL(buf)
|
||||
|| OB_UNLIKELY(format.length() <= 0 || buf_len <= 0)) {
|
||||
|
||||
Reference in New Issue
Block a user