fix on update execution core dump

This commit is contained in:
Charles0429
2022-12-24 04:11:47 +00:00
committed by ob-robot
parent 9b0165efb0
commit caead7fcaa

View File

@ -1318,7 +1318,9 @@ int ObDDLScheduler::on_update_execution_id(
} else if (OB_FAIL(ddl_task->push_execution_id())) { } else if (OB_FAIL(ddl_task->push_execution_id())) {
LOG_WARN("fail to push execution id", K(ret), KPC(ddl_task)); LOG_WARN("fail to push execution id", K(ret), KPC(ddl_task));
} }
ret_execution_id = ddl_task->get_execution_id(); // ignore ret, if fail, take old execution id if (nullptr != ddl_task) {
ret_execution_id = ddl_task->get_execution_id(); // ignore ret, if fail, take old execution id
}
} }
return ret; return ret;
} }