From 8dc48ba8772bff315fc0e6cd200fbcc2d0cd5776 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 31 Mar 1998 23:31:10 +0000 Subject: Small HAVING cleanup. --- src/backend/optimizer/plan/planner.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/backend/optimizer/plan/planner.c') diff --git a/src/backend/optimizer/plan/planner.c b/src/backend/optimizer/plan/planner.c index 35c19d6c44f..260bf230cf9 100644 --- a/src/backend/optimizer/plan/planner.c +++ b/src/backend/optimizer/plan/planner.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.24 1998/03/30 16:36:04 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.25 1998/03/31 23:30:51 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -292,11 +292,10 @@ union_planner(Query *parse) ((Agg *) result_plan)->aggs = set_agg_tlist_references((Agg *) result_plan); - /***S*H***/ - if(parse->havingQual!=NULL) { + if(parse->havingQual != NULL) { List *clause; - /***S*H***/ /* set qpqual of having clause */ + /* set qpqual of having clause */ ((Agg *) result_plan)->plan.qual=cnfify((Expr *)parse->havingQual,true); foreach(clause, ((Agg *) result_plan)->plan.qual) -- cgit v1.2.3