Skip to content

Commit

Permalink
[CP] to issue<52687254>:fix pl complex type argument default value ch…
Browse files Browse the repository at this point in the history
…eck issue
  • Loading branch information
hanr881 authored and ob-robot committed Oct 22, 2023
1 parent 0a64c54 commit 78633e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pl/ob_pl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 78633e0

Please sign in to comment.