to issue<52687254>:fix pl complex type argument default value check issue
This commit is contained in:
@ -2898,7 +2898,8 @@ int ObPLExecState::check_routine_param_legal(ParamStore *params)
|
||||
if (OB_SUCC(ret) && NULL != params) {
|
||||
for (int64_t i = 0; OB_SUCC(ret) && i < params->count(); ++i) {
|
||||
const ObPLDataType &dest_type = func_.get_variables().at(i);
|
||||
if (params->at(i).is_null()) {
|
||||
if (params->at(i).is_null() ||
|
||||
params->at(i).is_pl_mock_default_param()) {
|
||||
// need not check
|
||||
} else if (!params->at(i).is_ext()) { // basic type
|
||||
if (!dest_type.is_obj_type()) {
|
||||
|
||||
Reference in New Issue
Block a user