diff options
Diffstat (limited to 'src/backend/optimizer/geqo/geqo_misc.c')
-rw-r--r-- | src/backend/optimizer/geqo/geqo_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/geqo/geqo_misc.c b/src/backend/optimizer/geqo/geqo_misc.c index ce915a5f2c8..c1dab6a99ca 100644 --- a/src/backend/optimizer/geqo/geqo_misc.c +++ b/src/backend/optimizer/geqo/geqo_misc.c @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: geqo_misc.c,v 1.9 1998/07/18 04:22:28 momjian Exp $ + * $Id: geqo_misc.c,v 1.10 1998/09/01 03:23:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -58,7 +58,7 @@ avg_pool(Pool *pool) for (i = 0; i < pool->size; i++) cumulative = cumulative + pool->data[i].worth; - return ((float) cumulative / pool->size); + return (float) cumulative / pool->size; } /* print_pool-- @@ -146,7 +146,7 @@ geqo_print_joinclauses(Query *root, List *clauses) foreach(l, clauses) { - CInfo *c = lfirst(l); + ClauseInfo *c = lfirst(l); print_expr((Node *) c->clause, root->rtable); if (lnext(l)) |