add inner_same_as for udf func and remove useless GET_MIN_CLUSTER_VERSION
This commit is contained in:
@ -193,16 +193,7 @@ DEFINE_DESERIALIZE(ObDesExecContext)
|
||||
if (OB_SUCC(ret) && !OB_ISNULL(my_session_) && !OB_ISNULL(GCTX.sql_engine_)) {
|
||||
ObPCMemPctConf pc_mem_conf;
|
||||
if (OB_FAIL(my_session_->get_pc_mem_conf(pc_mem_conf))) {
|
||||
if (OB_ENTRY_NOT_EXIST == ret && GET_MIN_CLUSTER_VERSION() < CLUSTER_VERSION_2100) {
|
||||
/**
|
||||
* ignore OB_ENTRY_NOT_EXIST if in upgrade process, this session must come from
|
||||
* 1470 or 2000, they can not generate remote / distributed plan with foreign
|
||||
* key operation.
|
||||
*/
|
||||
ret = OB_SUCCESS;
|
||||
} else {
|
||||
LOG_WARN("failed to get pc mem conf", K(ret));
|
||||
}
|
||||
LOG_WARN("failed to get pc mem conf", K(ret));
|
||||
} else {
|
||||
my_session_->set_plan_cache_manager(GCTX.sql_engine_->get_plan_cache_manager());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user