Fix miss assignment of ret

This commit is contained in:
mz0 2021-08-03 21:04:23 +08:00 committed by wangzelin.wzl
parent 651b68ec8e
commit d275ff56a8

View File

@ -366,6 +366,7 @@ int ObBackupInfoMgr::get_restore_status_from_cache(const uint64_t tenant_id, Phy
ObPhysicalRestoreJob& cur_job = cur_restore_job_->at(i);
if (cur_job.tenant_id_ == tenant_id) {
status = cur_job.status_;
ret = OB_SUCCESS;
break;
}
}