Fixed a bug in the error code branch

This commit is contained in:
hwx65
2024-06-17 15:00:42 +00:00
committed by ob-robot
parent a61dd33772
commit 54d6db1801

View File

@ -552,7 +552,7 @@ int ObUDTSqlService::del_udt_objects_in_udt(common::ObISQLClient &sql_client,
obj_ti.at(1)->get_type(),
new_schema_version), udt_info);
} else {
CK (0 <= obj_ti.count() && 2 >= obj_ti.count());
CK (0 < obj_ti.count() && 2 >= obj_ti.count());
for (int64_t i = 0; OB_SUCC(ret) && i < obj_ti.count(); ++i) {
OZ (del_udt_object(sql_client,
udt_info,