Overview
| SHA1 Hash: | 10cc12b16b2f1ae4e6b3a84cef5a44564d282e9c |
|---|---|
| Date: | 2012-11-02 18:24:57 |
| User: | drh |
| Comment: | Fix an out-of-date comment. No changes to code. |
Tags And Properties
- branch=trunk inherited from [704b122e53]
- sym-trunk inherited from [704b122e53]
Changes
Changes to src/expr.c
4039 static int analyzeAggregatesInSelect(Walker *pWalker, Select *pSelect){ 4039 static int analyzeAggregatesInSelect(Walker *pWalker, Select *pSelect){ 4040 UNUSED_PARAMETER(pWalker); 4040 UNUSED_PARAMETER(pWalker); 4041 UNUSED_PARAMETER(pSelect); 4041 UNUSED_PARAMETER(pSelect); 4042 return WRC_Continue; 4042 return WRC_Continue; 4043 } 4043 } 4044 4044 4045 /* 4045 /* 4046 ** Analyze the given expression looking for aggregate functions and | 4046 ** Analyze the pExpr expression looking for aggregate functions and 4047 ** for variables that need to be added to the pParse->aAgg[] array. | 4047 ** for variables that need to be added to AggInfo object that pNC->pAggInfo 4048 ** Make additional entries to the pParse->aAgg[] array as necessary. | 4048 ** points to. Additional entries are made on the AggInfo object as > 4049 ** necessary. 4049 ** 4050 ** 4050 ** This routine should only be called after the expression has been 4051 ** This routine should only be called after the expression has been 4051 ** analyzed by sqlite3ResolveExprNames(). 4052 ** analyzed by sqlite3ResolveExprNames(). 4052 */ 4053 */ 4053 void sqlite3ExprAnalyzeAggregates(NameContext *pNC, Expr *pExpr){ 4054 void sqlite3ExprAnalyzeAggregates(NameContext *pNC, Expr *pExpr){ 4054 Walker w; 4055 Walker w; 4055 memset(&w, 0, sizeof(w)); 4056 memset(&w, 0, sizeof(w));