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));