mirror of
https://github.com/postgres/postgres.git
synced 2025-12-06 00:02:13 +03:00
Renaming cleanup, no pgindent yet.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user