[to #53127984]out param bind to const value need report error

This commit is contained in:
LiuYoung00
2023-11-17 02:45:36 +00:00
committed by ob-robot
parent 565ab7b15b
commit 761938037c
5 changed files with 25 additions and 8 deletions

View File

@ -276,8 +276,8 @@ int ObCallProcedureExecutor::execute(ObExecContext &ctx, ObCallProcedureStmt &st
}
}
} else {
ret = OB_ERR_CALL_WRONG_ARG;
LOG_WARN("PLS-00306: wrong number or types of arguments in call stmt", K(ret));
ret = OB_ERR_OUT_PARAM_NOT_BIND_VAR;
LOG_WARN("output parameter not a bind variable", K(ret));
}
} else {
ctx.get_physical_plan_ctx()->get_param_store_for_update().at(i) = params.at(i);