mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Cost cleanup.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.9 1997/12/18 03:03:38 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planmain.c,v 1.10 1997/12/18 12:30:44 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -200,8 +200,7 @@ query_planner(Query *root,
|
||||
*/
|
||||
if (root->qry_aggs)
|
||||
{
|
||||
aggplan = make_agg(tlist, root->qry_numAgg, root->qry_aggs);
|
||||
aggplan->plan.lefttree = subplan;
|
||||
aggplan = make_agg(tlist, root->qry_numAgg, root->qry_aggs, subplan);
|
||||
|
||||
/*
|
||||
* set the varno/attno entries to the appropriate references to
|
||||
|
||||
Reference in New Issue
Block a user