fix ocitest report 4016 using call stmt

This commit is contained in:
obdev 2022-11-29 02:40:23 +00:00 committed by ob-robot
parent 881ecd02cc
commit 6fcc624494
2 changed files with 4 additions and 1 deletions

View File

@ -687,7 +687,8 @@ int ObMPStmtExecute::parse_request_param_value(ObIAllocator &alloc,
}
// Step5: decode value
ObObjType ob_type;
if (OB_FAIL(ObSMUtils::get_ob_type(
if (OB_FAIL(ret)) {
} else if (OB_FAIL(ObSMUtils::get_ob_type(
ob_type, static_cast<EMySQLFieldType>(param_type)))) {
LOG_WARN("cast ob type from mysql type failed",
K(ob_type), K(param_type), K(ret));

View File

@ -2200,6 +2200,8 @@ int ObPLExecState::check_routine_param_legal(ParamStore *params)
ret = OB_INVALID_ARGUMENT;
LOG_WARN("incorrect argument type, expected complex, but get basic type", K(ret));
}
} else if (NULL == reinterpret_cast<const ObPLComposite *>(params->at(i).get_ext())) {
// do nothing
} else {
const pl::ObPLComposite *src_composite = NULL;
uint64_t udt_id = params->at(i).get_udt_id();