Patch bug fixes to opensource branch.

This commit is contained in:
jz0
2021-08-19 17:53:21 +08:00
committed by wangzelin.wzl
parent 10799a599b
commit a0ff8aaa32
14 changed files with 524 additions and 765 deletions

View File

@ -685,9 +685,12 @@ int ObLogTableScan::extract_access_exprs(
} else if (OB_ISNULL(expr)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("expr is null", K(col_idx), K(ret));
} else if (OB_FAIL(expr->formalize(opt_ctx->get_session_info()))) {
LOG_WARN("failed to formalize the new expr", K(ret));
} else { /*do nothing*/
} else {
expr->set_ref_id(get_table_id(), column_schema->get_column_id());
if (OB_FAIL(expr->formalize(opt_ctx->get_session_info()))) {
LOG_WARN("failed to formalize the new expr", K(ret));
} else { /*do nothing*/
}
}
if (OB_SUCC(ret)) {
if (OB_FAIL(rowkey_exprs.push_back(expr))) {