fix rebuild hidden table index failed

This commit is contained in:
Charles0429
2022-11-07 02:05:40 +00:00
committed by wangzelin.wzl
parent 525fc5ba35
commit e1f4909c8c

View File

@ -539,8 +539,7 @@ int ObTableRedefinitionTask::copy_table_dependent_objects(const ObDDLTaskStatus
LOG_WARN("copy table constraints failed", K(ret));
} else if (OB_FAIL(copy_table_foreign_keys())) {
LOG_WARN("copy table foreign keys failed", K(ret));
}
} else {
// copy triggers(at current, not supported, skip it)
// wait copy dependent objects to be finished
@ -577,12 +576,13 @@ int ObTableRedefinitionTask::copy_table_dependent_objects(const ObDDLTaskStatus
}
}
}
}
if (finished_task_cnt == dependent_task_result_map_.size()) {
if (OB_FAIL(switch_status(next_task_status, ret))) {
LOG_WARN("fail to switch status", K(ret));
}
}
}
}
return ret;
}