From 352d38eaf624b7c3d58a4b818bcb0af78dae7a2e Mon Sep 17 00:00:00 2001 From: Cachuela Date: Tue, 26 Sep 2023 08:58:15 +0800 Subject: [PATCH] enter --- src/gausskernel/optimizer/plan/initsplan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gausskernel/optimizer/plan/initsplan.cpp b/src/gausskernel/optimizer/plan/initsplan.cpp index 67a6645ad..250ef1105 100644 --- a/src/gausskernel/optimizer/plan/initsplan.cpp +++ b/src/gausskernel/optimizer/plan/initsplan.cpp @@ -160,7 +160,7 @@ void build_base_rel_tlists(PlannerInfo* root, List* final_tlist)//函数用于 void add_vars_to_targetlist(PlannerInfo* root, List* vars, Relids where_needed, bool create_new_ph) { ListCell* temp = NULL; - // 断言 where_needed 不应为空�������它表示需要这些变量的关系的集合。 + // 断言 where_needed 不应为空���������它表示需要这些变量的关系的集合。 AssertEreport(!bms_is_empty(where_needed), MOD_OPT, "bms should not be null"); foreach (temp, vars) {// 遍历传入的变量列表。 @@ -237,7 +237,7 @@ extract_lateral_references(PlannerInfo *root, RelOptInfo *brel, Index rtindex) RangeTblEntry *rte = root->simple_rte_array[rtindex];// 获取与基本关系对应的 RangeTblEntry。 List *vars = NIL;// 存储原始变量引用的列表 List *newvars = NIL;// 存储处理后的变量引用的列表 - Relids where_needed = NULL;// 标识哪些关系需要这些���量 + Relids where_needed = NULL; // 标识哪些关系需要���些变量 ListCell *lc = NULL; /* No cross-references are possible if it's not LATERAL */