Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1401f63

Browse files
committed
Agg/Aggreg cleanup and datetime.sql patch.
1 parent 247b3f9 commit 1401f63

File tree

11 files changed

+122
-126
lines changed

11 files changed

+122
-126
lines changed

src/backend/executor/execQual.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.40 1999/01/24 00:28:18 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.41 1999/01/25 18:02:13 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -67,7 +67,7 @@ bool execConstByVal;
6767
int execConstLen;
6868

6969
/* static functions decls */
70-
static Datum ExecEvalAggref(Aggref *agg, ExprContext *econtext, bool *isNull);
70+
static Datum ExecEvalAggref(Aggref *aggref, ExprContext *econtext, bool *isNull);
7171
static Datum ExecEvalArrayRef(ArrayRef *arrayRef, ExprContext *econtext,
7272
bool *isNull, bool *isDone);
7373
static Datum ExecEvalAnd(Expr *andExpr, ExprContext *econtext, bool *isNull);
@@ -192,10 +192,10 @@ ExecEvalArrayRef(ArrayRef *arrayRef,
192192
* ----------------------------------------------------------------
193193
*/
194194
static Datum
195-
ExecEvalAggref(Aggref *agg, ExprContext *econtext, bool *isNull)
195+
ExecEvalAggref(Aggref *aggref, ExprContext *econtext, bool *isNull)
196196
{
197-
*isNull = econtext->ecxt_nulls[agg->aggno];
198-
return econtext->ecxt_values[agg->aggno];
197+
*isNull = econtext->ecxt_nulls[aggref->aggno];
198+
return econtext->ecxt_values[aggref->aggno];
199199
}
200200

201201
/* ----------------------------------------------------------------

0 commit comments

Comments
 (0)