diff --git a/src/sql/engine/ob_physical_plan.cpp b/src/sql/engine/ob_physical_plan.cpp index 97b4e69e38..c603966b0c 100644 --- a/src/sql/engine/ob_physical_plan.cpp +++ b/src/sql/engine/ob_physical_plan.cpp @@ -1191,7 +1191,7 @@ int ObPhysicalPlan::set_minimal_worker_map(const common::hash::ObHashMap &c) { int ret = OB_SUCCESS; - ObMemAttr attr(MTL_ID(), "WorkerMap"); + ObMemAttr attr(tenant_id_, "WorkerMap"); if (worker_map.created()) { worker_map.clear(); } else if (OB_FAIL(worker_map.create(common::hash::cal_next_prime(100), attr, attr))){