提交 2b13a66b 编写于 作者: Z zz0 提交者: wangzelin.wzl

[fix] fix the error caused by redundant condition

上级 ddecfdd7
......@@ -4618,7 +4618,7 @@ int ObSelectResolver::resolve_column_ref_table_first(
// if table column exist, check column name whether exist in alias name list
ObRawExpr* tmp_ref = NULL;
if (OB_FAIL(resolve_table_column_ref(q_name, real_ref_expr))) {
if (OB_ERR_BAD_FIELD_ERROR == ret || OB_NON_UNIQ_ERROR == ret) {
if (OB_ERR_BAD_FIELD_ERROR == ret) {
if (OB_FAIL(resolve_alias_column_ref(q_name, real_ref_expr))) {
LOG_WARN_IGNORE_COL_NOTFOUND(ret, "resolve alias column ref failed", K(ret), K(q_name));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册