!3325 opengauss开启继承表

Merge pull request !3325 from 雷紫薇/rel122582
This commit is contained in:
opengauss_bot
2023-12-14 01:10:54 +00:00
committed by Gitee
32 changed files with 5824 additions and 405 deletions

View File

@ -1536,8 +1536,8 @@ static void set_append_rel_size(PlannerInfo* root, RelOptInfo* rel, Index rti, R
parent_rows += RELOPTINFO_LOCAL_FIELD(root, childrel, rows);
parent_global_rows += childrel->rows;
parent_tuples += RELOPTINFO_LOCAL_FIELD(root, childrel, tuples);
parent_global_tuples += childrel->tuples;
parent_tuples += RELOPTINFO_LOCAL_FIELD(root, childrel, rows);
parent_global_tuples += childrel->rows;
parent_size += childrel->reltarget->width * RELOPTINFO_LOCAL_FIELD(root, childrel, rows);
/*