[CP] Synonym plan cache swallow error codes

This commit is contained in:
obdev
2023-08-26 04:48:13 +00:00
committed by ob-robot
parent 544bb4d87c
commit 2c48fbf656

View File

@ -2065,7 +2065,8 @@ int ObPlanCacheValue::get_all_dep_schema(ObPlanCacheCtx &pc_ctx,
tmp_schema_obj.schema_type_ = pcv_schema->schema_type_; tmp_schema_obj.schema_type_ = pcv_schema->schema_type_;
} }
} }
if (OB_FAIL(schema_guard.get_schema_version(pcv_schema->schema_type_, if (OB_FAIL(ret)) {
} else if (OB_FAIL(schema_guard.get_schema_version(pcv_schema->schema_type_,
tenant_id, tenant_id,
pcv_schema->schema_id_, pcv_schema->schema_id_,
new_version))) { new_version))) {