diff options
Diffstat (limited to 'src/backend/optimizer/path/allpaths.c')
-rw-r--r-- | src/backend/optimizer/path/allpaths.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index 6abf6e11b9e..ac1f2b414d9 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.6 1997/04/29 04:37:22 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.7 1997/06/01 02:55:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -173,7 +173,7 @@ find_join_paths(Query *root, List *outer_rels, int levels_left) * <utesch@aut.tu-freiberg.de> * *******************************************/ - if ( _use_geqo_ ) + if ( (_use_geqo_) || length(root->base_relation_list_) >= GEQO_RELS ) return lcons(geqo(root), NIL); /* returns *one* Rel, so lcons it */ /******************************************* |