[CP] [to #2024111300105096786] fix: change -4016 to -4007 when PL CG levels overflow
This commit is contained in:
@ -390,7 +390,9 @@ public:
|
||||
exception_stack_.exceptions_[exception_stack_.cur_].raising_block_.reset();
|
||||
++exception_stack_.cur_;
|
||||
} else {
|
||||
ret = common::OB_ERR_UNEXPECTED;
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
PL_LOG(WARN, "max exception block nested level exceeded", K(exception_stack_.cur_));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "exception blocks nested level exceed 64");
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
@ -435,7 +437,9 @@ public:
|
||||
label_stack_.labels_[label_stack_.cur_].exit_ = exit;
|
||||
++label_stack_.cur_;
|
||||
} else {
|
||||
ret = common::OB_ERR_UNEXPECTED;
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
PL_LOG(WARN, "max label nested level exceeded", K(label_stack_.cur_));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "labels nested level exceeds 64");
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
@ -486,7 +490,9 @@ public:
|
||||
loop_stack_.loops_[loop_stack_.cur_].cursor_ = cursor;
|
||||
++loop_stack_.cur_;
|
||||
} else {
|
||||
ret = common::OB_ERR_UNEXPECTED;
|
||||
ret = OB_NOT_SUPPORTED;
|
||||
PL_LOG(WARN, "max loop nested level exceeded", K(loop_stack_.cur_));
|
||||
LOG_USER_ERROR(OB_NOT_SUPPORTED, "loops nested level exceed 64");
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user