[CP] to issue<54168689>:fix core when deep copy array after delete its element

This commit is contained in:
obdev
2024-02-09 04:02:59 +00:00
committed by ob-robot
parent 02fdb9b6e6
commit 7f2b0cd8a1
5 changed files with 118 additions and 11 deletions

View File

@ -4633,8 +4633,7 @@ int ObSPIService::spi_alloc_complex_var(pl::ObPLExecCtx *ctx,
need_alloc = false;
int tmp = OB_SUCCESS;
if (OB_SUCCESS != (tmp = ObUserDefinedType::destruct_obj(ctx->params_->at(var_idx),
ctx->exec_ctx_->get_my_session(),
false))) {
ctx->exec_ctx_->get_my_session()))) {
LOG_WARN("fail to destruct obj", K(tmp));
}
}