fix create view bug with prefix index

This commit is contained in:
rq0
2022-03-28 17:51:50 +08:00
committed by LINxiansheng
parent 1e4ef5ba24
commit 936acf0597
2 changed files with 2 additions and 1 deletions

View File

@ -1939,6 +1939,7 @@ int ObRawExprUtils::create_substr_expr(ObRawExprFactory& expr_factory, ObSQLSess
ret = OB_ERR_UNEXPECTED;
LOG_WARN("to_type is null");
} else {
out_expr->set_func_name(N_SUBSTR);
if (NULL == third_expr) {
if (OB_FAIL(out_expr->set_param_exprs(first_expr, second_expr))) {
LOG_WARN("add param expr failed", K(ret));