adjust error code for agent table && fix compile error

This commit is contained in:
18523270951@163.com
2024-04-01 09:49:10 +00:00
committed by ob-robot
parent b17d28d52d
commit edc410ce3c
3 changed files with 10 additions and 4 deletions

View File

@ -5502,7 +5502,7 @@ int ObSQLUtils::check_sys_view_changed(const share::schema::ObTableSchema &old_v
}
}
}
if (!changed) {
if (OB_SUCC(ret) && !changed) {
if (OB_FAIL(GCTX.sql_engine_->get_dep_info_queue()
.add_consistent_sys_view_id_to_set(old_view_schema.get_tenant_id(),
old_view_schema.get_table_id()))) {