Commit e3d2f1f3 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

gimme_tree(): got rid of compute_rel_size() -

compute_joinrel_size already called by geqo_rel_paths.
parent c8a38d5d
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: geqo_eval.c,v 1.9 1997/06/06 00:38:17 scrappy Exp $ * $Id: geqo_eval.c,v 1.10 1997/06/06 03:18:02 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -157,7 +157,9 @@ gimme_tree (Query *root, Gene *tour, int rel_count, int num_gene, Rel *outer_rel ...@@ -157,7 +157,9 @@ gimme_tree (Query *root, Gene *tour, int rel_count, int num_gene, Rel *outer_rel
geqo_rel_paths(new_rel); geqo_rel_paths(new_rel);
/* processing of other new_rel attributes */ /* 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); new_rel->size = compute_rel_size(new_rel);
#endif
new_rel->width = compute_rel_width(new_rel); new_rel->width = compute_rel_width(new_rel);
root->join_relation_list_ = lcons(new_rel, NIL); root->join_relation_list_ = lcons(new_rel, NIL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment