fix bug: plan cache core is caused by the plan cache diagnostic view.
This commit is contained in:
@ -65,7 +65,8 @@ const char* ObCacheRefHandleMgr::handle_name(const CacheRefHandleID handle_id)
|
||||
"plan_baseline_handle",
|
||||
"tableapi_node_handle",
|
||||
"sql_plan_handle",
|
||||
"callstmt_handle"
|
||||
"callstmt_handle",
|
||||
"pc_diag_handle"
|
||||
};
|
||||
static_assert(sizeof(handle_names)/sizeof(const char*) == MAX_HANDLE, "invalid handle name array");
|
||||
if (handle_id < MAX_HANDLE) {
|
||||
|
||||
Reference in New Issue
Block a user