[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -868,6 +868,20 @@ int ObGVSql::fill_cells(const ObILibCacheObject *cache_obj, const ObPlanCache &p
}
break;
}
case share::ALL_VIRTUAL_PLAN_STAT_CDE::IS_IN_PC: {
common::hash::ObHashMap<ObCacheObjID, ObILibCacheObject*> &co_map = const_cast<ObPlanCache *>(&plan_cache)->get_cache_obj_mgr().get_cache_obj_map();
if (NULL != co_map.get(cache_obj->get_object_id())) {
cells[i].set_bool(true);
} else {
cells[i].set_bool(false);
}
break;
}
case share::ALL_VIRTUAL_PLAN_STAT_CDE::ERASE_TIME: {
cells[i].set_timestamp(cache_obj->get_logical_del_time());
break;
}
default: {
ret = OB_ERR_UNEXPECTED;
SERVER_LOG(WARN,