提交 4c051037 编写于 作者: Z zzg19950727 提交者: ob-robot

[CP] fix cast subquery expr bug

上级 4dcdca77
......@@ -519,6 +519,8 @@ int ObRawExprUtils::resolve_op_expr_for_oracle_implicit_cast(
} else if (OB_ISNULL(select_expr)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("unexpect null expr", K(ret));
} else if (OB_FAIL(b_expr->replace_param_expr(0, sub_expr1))) {
LOG_WARN("failed to replace_param_expr", K(ret));
} else {
query_stmt->get_select_item(0).expr_ = select_expr;
ObIArray<ObExprResType>& column_types = query_ref_expr->get_column_types();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册