to issue<53361277>:support flush pl cache single cache object
This commit is contained in:
@ -5114,6 +5114,7 @@ int ObAdminFlushCacheArg::assign(const ObAdminFlushCacheArg &other)
|
||||
sql_id_ = other.sql_id_;
|
||||
is_fine_grained_ = other.is_fine_grained_;
|
||||
ns_type_ = other.ns_type_;
|
||||
schema_id_ = other.schema_id_;
|
||||
if (OB_FAIL(tenant_ids_.assign(other.tenant_ids_))) {
|
||||
LOG_WARN("failed to assign tenant ids", K(ret));
|
||||
} else if (OB_FAIL(db_ids_.assign(other.db_ids_))) {
|
||||
@ -5122,7 +5123,7 @@ int ObAdminFlushCacheArg::assign(const ObAdminFlushCacheArg &other)
|
||||
return ret;
|
||||
}
|
||||
|
||||
OB_SERIALIZE_MEMBER(ObAdminFlushCacheArg, tenant_ids_, cache_type_, db_ids_, sql_id_, is_fine_grained_, ns_type_);
|
||||
OB_SERIALIZE_MEMBER(ObAdminFlushCacheArg, tenant_ids_, cache_type_, db_ids_, sql_id_, is_fine_grained_, ns_type_, schema_id_);
|
||||
|
||||
int ObFlushCacheArg::assign(const ObFlushCacheArg &other)
|
||||
{
|
||||
@ -5133,13 +5134,14 @@ int ObFlushCacheArg::assign(const ObFlushCacheArg &other)
|
||||
sql_id_ = other.sql_id_;
|
||||
is_fine_grained_ = other.is_fine_grained_;
|
||||
ns_type_ = other.ns_type_;
|
||||
schema_id_ = other.schema_id_;
|
||||
if (OB_FAIL(db_ids_.assign(other.db_ids_))) {
|
||||
LOG_WARN("failed to assign db ids", K(ret));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
OB_SERIALIZE_MEMBER(ObFlushCacheArg, is_all_tenant_, tenant_id_, cache_type_, db_ids_, sql_id_, is_fine_grained_, ns_type_);
|
||||
OB_SERIALIZE_MEMBER(ObFlushCacheArg, is_all_tenant_, tenant_id_, cache_type_, db_ids_, sql_id_, is_fine_grained_, ns_type_, schema_id_);
|
||||
|
||||
OB_SERIALIZE_MEMBER(ObGetAllSchemaArg,
|
||||
schema_version_,
|
||||
|
||||
Reference in New Issue
Block a user