OSDN Git Service

Fix definition of is_dummy_rel based on changes in community
[pghintplan/pg_hint_plan.git] / core.c
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