1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-15 03:41:20 +03:00

if ( new_rel->size <= 0 )

new_rel->size = compute_rel_size(new_rel);
This commit is contained in:
Vadim B. Mikheev
1997-06-10 07:53:55 +00:00
parent 71b3e93c50
commit cbb4213af4
2 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: geqo_eval.c,v 1.10 1997/06/06 03:18:02 vadim Exp $
* $Id: geqo_eval.c,v 1.11 1997/06/10 07:53:53 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -157,9 +157,8 @@ gimme_tree (Query *root, Gene *tour, int rel_count, int num_gene, Rel *outer_rel
geqo_rel_paths(new_rel);
/* processing of other new_rel attributes */
#if 0 /* compute_joinrel_size already called by geqo_rel_paths */
new_rel->size = compute_rel_size(new_rel);
#endif
if ( new_rel->size <= 0 )
new_rel->size = compute_rel_size(new_rel);
new_rel->width = compute_rel_width(new_rel);
root->join_relation_list_ = lcons(new_rel, NIL);