去除alter外键约束时ob_ddl_timeout的约束,修改当前代码中遗失返回码和dead code的问题 (#344)
* 去除alter外键约束时ob_ddl_timeout的约束,修改遗失返回码和dead code的问题 * 修改log记录的信息,修改移除dead code的代码
This commit is contained in:
@ -956,12 +956,8 @@ int ObExprGeneratorImpl::visit_enum_set_expr(ObNonTerminalRawExpr& expr, ObExprT
|
||||
LOG_WARN("invalid old op", K(expr), K(ret));
|
||||
} else {
|
||||
ObExprTypeToStr* type_to_str = static_cast<ObExprTypeToStr*>(old_op);
|
||||
if (OB_ISNULL(type_to_str)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("failed to static cast ObExprOperator * to ObExprTypeToStr *", K(expr), K(ret));
|
||||
} else if (OB_FAIL(enum_set_op->deep_copy_str_values(type_to_str->get_str_values()))) {
|
||||
if (OB_FAIL(enum_set_op->deep_copy_str_values(type_to_str->get_str_values()))) {
|
||||
LOG_WARN("failed to deep_copy_str_values", K(expr), K(ret));
|
||||
} else { /*do nothing*/
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user