fix searray has no autofree flag in optimizer stage

This commit is contained in:
Larry955
2022-12-19 12:07:49 +00:00
committed by ob-robot
parent 106ebeb963
commit 892a3414d0
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ private:
common::ObIAllocator &allocator_;
char *stmt_fmt_buf_;
int32_t stmt_fmt_len_;
common::ObSEArray<ObParamPosIdx, 16> param_infos_;
common::ObSEArray<ObParamPosIdx, 16, common::ModulePageAllocator, true> param_infos_;
};
} // namespace sql

View File

@ -104,7 +104,7 @@ private:
common::ObObj outfile_name_;
common::ObObj filed_str_;
common::ObObj line_str_;
common::ObSEArray<common::ObString, 16> user_vars_;
common::ObSEArray<common::ObString, 16, common::ModulePageAllocator, true> user_vars_;
char closed_cht_;
bool is_optional_;
};

View File

@ -73,7 +73,7 @@ namespace sql
virtual int print_outline(planText &plan_text) override;
private:
ObSEArray<ObWinFunRawExpr *, 4> win_exprs_;
ObSEArray<ObWinFunRawExpr *, 4, common::ModulePageAllocator, true> win_exprs_;
// Single partition (no partition by) window function parallel process, need the PX COORD
// to collect the partial result and broadcast the final result to each worker.