Commit 8eb08ae6 authored by Bruce Momjian's avatar Bruce Momjian

Cleanup up code.

parent 0435ecf5
...@@ -111,7 +111,6 @@ ExecAgg(Agg *node) ...@@ -111,7 +111,6 @@ ExecAgg(Agg *node)
isNull2 = FALSE; isNull2 = FALSE;
/***S*H***/
do { do {
...@@ -486,7 +485,6 @@ ExecAgg(Agg *node) ...@@ -486,7 +485,6 @@ ExecAgg(Agg *node)
* ---------------- * ----------------
*/ */
/***S*H***/
} }
while((ExecQual(fix_opids(node->plan.qual),econtext)!=true) && while((ExecQual(fix_opids(node->plan.qual),econtext)!=true) &&
(node->plan.qual!=NULL)); (node->plan.qual!=NULL));
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.25 1998/03/31 23:30:51 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.26 1998/04/13 21:07:09 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -60,8 +60,6 @@ make_groupPlan(List **tlist, bool tuplePerGroup, ...@@ -60,8 +60,6 @@ make_groupPlan(List **tlist, bool tuplePerGroup,
*****************************************************************************/ *****************************************************************************/
/***S*H***/ /* Anfang */
static List * static List *
check_having_qual_for_aggs(Node *clause, List *subplanTargetList) check_having_qual_for_aggs(Node *clause, List *subplanTargetList)
{ {
...@@ -84,7 +82,6 @@ check_having_qual_for_aggs(Node *clause, List *subplanTargetList) ...@@ -84,7 +82,6 @@ check_having_qual_for_aggs(Node *clause, List *subplanTargetList)
((Var *) clause)->varattno = subplanVar->resdom->resno; ((Var *) clause)->varattno = subplanVar->resdom->resno;
return NIL; return NIL;
} }
/***S*H***/
else if (is_funcclause(clause) || not_clause(clause) || else if (is_funcclause(clause) || not_clause(clause) ||
or_clause(clause) || and_clause(clause)) or_clause(clause) || and_clause(clause))
{ {
...@@ -165,7 +162,6 @@ check_having_qual_for_aggs(Node *clause, List *subplanTargetList) ...@@ -165,7 +162,6 @@ check_having_qual_for_aggs(Node *clause, List *subplanTargetList)
return NIL; return NIL;
} }
} }
/***S*H***/ /* Ende */
Plan * Plan *
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.9 1998/04/08 06:38:57 thomas Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.10 1998/04/13 21:07:15 momjian Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -2542,7 +2542,6 @@ groupby: ColId ...@@ -2542,7 +2542,6 @@ groupby: ColId
having_clause: HAVING a_expr having_clause: HAVING a_expr
{ {
/***S*H***/ /* elog(NOTICE, "HAVING not yet supported; ignore clause");*/
$$ = $2; $$ = $2;
} }
| /*EMPTY*/ { $$ = NULL; } | /*EMPTY*/ { $$ = NULL; }
......
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