[to #33454431] fix mysqltest & white scan
This commit is contained in:
@ -222,9 +222,7 @@ void ObDBMSJobThread::handle(void *task)
|
|||||||
if (OB_ISNULL(task)) {
|
if (OB_ISNULL(task)) {
|
||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_ERR_UNEXPECTED;
|
||||||
LOG_ERROR("null ptr", K(ret), K(task));
|
LOG_ERROR("null ptr", K(ret), K(task));
|
||||||
} else if (OB_ISNULL(master = static_cast<ObDBMSJobMaster *>(task))) {
|
} else if (FALSE_IT(master = static_cast<ObDBMSJobMaster *>(task))) {
|
||||||
ret = OB_ERR_UNEXPECTED;
|
|
||||||
LOG_ERROR("master is null", K(ret), K(master), K(task));
|
|
||||||
} else if (OB_FAIL(master->scheduler())) {
|
} else if (OB_FAIL(master->scheduler())) {
|
||||||
LOG_ERROR("fail to run dbms job master", K(ret));
|
LOG_ERROR("fail to run dbms job master", K(ret));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -122,7 +122,7 @@ public:
|
|||||||
{
|
{
|
||||||
return subprogram_path_.assign(path);
|
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> ¶ms_type)
|
inline int set_params_type(common::ObIArray<ObExprResType> ¶ms_type)
|
||||||
{
|
{
|
||||||
return params_type_.assign(params_type);
|
return params_type_.assign(params_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user