OSDN Git Service
(root)
/
pghintplan
/
pg_hint_plan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf22a23
)
Fix definition of is_dummy_rel based on changes in community
author
Jignesh Shah
<jkshah@amazon.com>
Sun, 2 Jun 2019 20:23:05 +0000
(20:23 +0000)
committer
Kyotaro Horiguchi
<horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 29 Aug 2019 08:27:30 +0000
(17:27 +0900)
core.c
patch
|
blob
|
history
diff --git
a/core.c
b/core.c
index
965b393
..
0fd546b
100644
(file)
--- a/
core.c
+++ b/
core.c
@@
-35,7
+35,6
@@
* make_rels_by_clauseless_joins()
* join_is_legal()
* has_join_restriction()
- * is_dummy_rel()
* restriction_is_constant_false()
* update_child_rel_info()
* build_child_join_sjinfo()
@@
-944,15
+943,6
@@
has_join_restriction(PlannerInfo *root, RelOptInfo *rel)
/*
- * is_dummy_rel --- has relation been proven empty?
- */
-static bool
-is_dummy_rel(RelOptInfo *rel)
-{
- return IS_DUMMY_REL(rel);
-}
-
-/*
* Mark a relation as proven empty.
*
* During GEQO planning, this can get invoked more than once on the same