fix a memleak caused by wf_hybrid_pby_exprs_cnt_array_

This commit is contained in:
obdev
2023-03-16 10:41:05 +00:00
committed by ob-robot
parent f25555fcd5
commit 612e0b3935
2 changed files with 2 additions and 2 deletions

View File

@ -114,7 +114,7 @@ ObPxTransmitSpec::ObPxTransmitSpec(ObIAllocator &alloc, const ObPhyOperatorType
sampling_saving_row_(alloc),
repartition_table_id_(0),
wf_hybrid_aggr_status_expr_(NULL),
wf_hybrid_pby_exprs_cnt_array_()
wf_hybrid_pby_exprs_cnt_array_(alloc)
{
}

View File

@ -86,7 +86,7 @@ public:
ExprFixedArray sampling_saving_row_;
int64_t repartition_table_id_; // for pkey, target table location id
ObExpr *wf_hybrid_aggr_status_expr_;
common::ObSArray<int64_t> wf_hybrid_pby_exprs_cnt_array_;
common::ObFixedArray<int64_t, common::ObIAllocator> wf_hybrid_pby_exprs_cnt_array_;
};
class ObPxTransmitOp : public ObTransmitOp