[FIX] memory leak of plan cache
This commit is contained in:
@ -71,7 +71,7 @@ ObResultSet::~ObResultSet()
|
||||
inner_exec_ctx_->~ObExecContext();
|
||||
inner_exec_ctx_ = NULL;
|
||||
}
|
||||
ObPlanCache *pc = my_session_.get_plan_cache();
|
||||
ObPlanCache *pc = my_session_.get_plan_cache_directly();
|
||||
if (OB_NOT_NULL(pc)) {
|
||||
cache_obj_guard_.force_early_release(pc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user