Fix memory leak and memory expansion in das group scan.

This commit is contained in:
obdev
2023-05-09 18:04:57 +00:00
committed by ob-robot
parent c1413102b0
commit 0ac5e967aa
3 changed files with 10 additions and 2 deletions

View File

@ -27,6 +27,8 @@ public:
{
}
~ObGroupResultRows() { reset(); }
int init(const common::ObIArray<ObExpr *> &exprs,
ObEvalCtx &eval_ctx,
common::ObIAllocator &das_op_allocator,
@ -91,6 +93,7 @@ class ObGroupScanIter : public ObNewRowIterator
OB_UNIS_VERSION(1);
public:
ObGroupScanIter();
virtual ~ObGroupScanIter() = default;
//virtual int rescan() override;
int switch_scan_group();
int set_scan_group(int64_t group_id);