fix overwrite ret code and failed case

This commit is contained in:
sdc
2023-05-31 04:41:53 +00:00
committed by ob-robot
parent 563a386290
commit 4384ebb471

View File

@ -951,7 +951,8 @@ int ObDelUpdResolver::set_base_table_for_view(TableItem &table_item, const bool
LOG_WARN("delete join view", K(ret));
}
}
if (NULL == base) {
if (OB_FAIL(ret)) {
} else if (NULL == base) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("table item is null", K(ret));
} else if (base->is_link_table()) {