fix error code lost.

This commit is contained in:
obdev
2023-09-08 13:54:05 +08:00
committed by ob-robot
parent baf03b8664
commit fa3b4469e1
2 changed files with 3 additions and 2 deletions

View File

@ -835,7 +835,7 @@ int ObTableRedefinitionTask::take_effect(const ObDDLTaskStatus next_task_status)
} else {
LOG_WARN("sync auto increment position failed", K(ret), K(object_id_), K(target_object_id_));
}
} else if (OB_FAIL(need_sync_stats && sync_stats_info())) {
} else if (need_sync_stats && OB_FAIL(sync_stats_info())) {
LOG_WARN("fail to sync stats info", K(ret), K(object_id_), K(target_object_id_));
} else if (OB_FAIL(ObDDLUtil::get_ddl_rpc_timeout(dst_tenant_id_, target_object_id_, ddl_rpc_timeout))) {
LOG_WARN("get ddl rpc timeout fail", K(ret));