Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d1abae

Browse files
committed
concat restrict_info with 'baserestrictinfo' of outerrel & innerrel
1 parent74438aa commit9d1abae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎init.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ try_crossmatch_path(RestrictInfo *restrInfo,
335335

336336
/* Remove current RestrictInfo from restrict clauses */
337337
restrict_clauses=list_delete_ptr(list_copy(extra->restrictlist),restrInfo);
338+
restrict_clauses=list_concat_unique(restrict_clauses,
339+
outerrel->baserestrictinfo);
340+
restrict_clauses=list_concat_unique(restrict_clauses,
341+
innerrel->baserestrictinfo);
338342

339343
outer_path=crossmatch_find_cheapest_path(root,joinrel,outerrel);
340344
inner_path=crossmatch_find_cheapest_path(root,joinrel,innerrel);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp