提交 23a580a5 编写于 作者: O obdev 提交者: ob-robot

[to #33454431] fix mysqltest & white scan

上级 ca056ef0
......@@ -222,9 +222,7 @@ void ObDBMSJobThread::handle(void *task)
if (OB_ISNULL(task)) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("null ptr", K(ret), K(task));
} else if (OB_ISNULL(master = static_cast<ObDBMSJobMaster *>(task))) {
ret = OB_ERR_UNEXPECTED;
LOG_ERROR("master is null", K(ret), K(master), K(task));
} else if (FALSE_IT(master = static_cast<ObDBMSJobMaster *>(task))) {
} else if (OB_FAIL(master->scheduler())) {
LOG_ERROR("fail to run dbms job master", K(ret));
}
......
......@@ -122,7 +122,7 @@ public:
{
return subprogram_path_.assign(path);
}
inline void set_result_type(ObExprResType result_type) { result_type_ = result_type; }
inline void set_result_type(const ObExprResType &result_type) { result_type_ = result_type; }
inline int set_params_type(common::ObIArray<ObExprResType> &params_type)
{
return params_type_.assign(params_type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册