Ignore -4177 error during add plan to plan_cache
This commit is contained in:
parent
a19186c6bc
commit
726ca100ef
@ -1214,6 +1214,10 @@ int ObPlanCache::add_cache_obj(ObILibCacheCtx &ctx,
|
||||
cache_node->dec_ref_count(LC_NODE_HANDLE); //cache node dec ref in block
|
||||
cache_node->dec_ref_count(LC_NODE_HANDLE); //cache node dec ref in alloc
|
||||
}
|
||||
} else {
|
||||
if (!ctx.need_destroy_node_ && ret != OB_SQL_PC_PLAN_DUPLICATE) {
|
||||
ctx.need_destroy_node_ = true;
|
||||
}
|
||||
}
|
||||
} else { /* node exist, add cache obj to it */
|
||||
LOG_TRACE("inner add cache obj", K(key), K(cache_node));
|
||||
|
Loading…
x
Reference in New Issue
Block a user