fix switch virtual tenant bug
This commit is contained in:
@ -505,6 +505,7 @@ int ObAllVirtualSqlPlan::dump_all_tenant_plans()
|
||||
int ObAllVirtualSqlPlan::dump_tenant_plans(int64_t tenant_id)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
if (!is_virtual_tenant_id(tenant_id)) {
|
||||
DumpAllPlan dump_plan;
|
||||
dump_plan.tenant_id_ = tenant_id;
|
||||
dump_plan.plan_ids_ = &plan_ids_;
|
||||
@ -523,6 +524,7 @@ int ObAllVirtualSqlPlan::dump_tenant_plans(int64_t tenant_id)
|
||||
if (OB_OP_NOT_ALLOW == ret) {
|
||||
ret = OB_SUCCESS;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user