PATCH bugfix to opensource branch

This commit is contained in:
obdev
2021-07-19 22:33:13 +08:00
committed by wangzelin.wzl
parent 5b5c04ff49
commit e03cb03357
34 changed files with 1471 additions and 1150 deletions

View File

@ -112,8 +112,8 @@ int ObExprRelationAnalyzer::init_expr_info(ObRawExpr& expr)
LOG_WARN("failed to add relation ids", K(ret));
}
}
} else if (OB_FAIL(expr.is_query_ref_expr())) {
ObQueryRefRawExpr& query = static_cast<ObQueryRefRawExpr&>(expr);
} else if (expr.is_query_ref_expr()) {
ObQueryRefRawExpr &query = static_cast<ObQueryRefRawExpr &>(expr);
if (OB_FAIL(query_exprs_.push_back(&query))) {
LOG_WARN("failed to push back query ref", K(ret));
} else if (OB_UNLIKELY(!query.is_ref_stmt())) {