SQLite
Check-in [18ae030dad]
Not logged in
Overview
SHA1 Hash:18ae030dad30303129186738c27cdc4ba06362b9
Date: 2012-11-02 18:48:49
User: drh
Comment:Proposed fix for ticket [bfbf38e5e9].
Tags And Properties
Changes
hide diffs unified diffs patch

Changes to src/expr.c

4026 } 4026 } 4027 /* Make pExpr point to the appropriate pAggInfo->aFunc[] entry 4027 /* Make pExpr point to the appropriate pAggInfo->aFunc[] entry 4028 */ 4028 */ 4029 assert( !ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); 4029 assert( !ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); 4030 ExprSetIrreducible(pExpr); 4030 ExprSetIrreducible(pExpr); 4031 pExpr->iAgg = (i16)i; 4031 pExpr->iAgg = (i16)i; 4032 pExpr->pAggInfo = pAggInfo; 4032 pExpr->pAggInfo = pAggInfo; 4033 } < 4034 return WRC_Prune; | 4033 return WRC_Prune; > 4034 }else{ > 4035 return WRC_Continue; > 4036 } 4035 } 4037 } 4036 } 4038 } 4037 return WRC_Continue; 4039 return WRC_Continue; 4038 } 4040 } 4039 static int analyzeAggregatesInSelect(Walker *pWalker, Select *pSelect){ 4041 static int analyzeAggregatesInSelect(Walker *pWalker, Select *pSelect){ 4040 UNUSED_PARAMETER(pWalker); 4042 UNUSED_PARAMETER(pWalker); 4041 UNUSED_PARAMETER(pSelect); 4043 UNUSED_PARAMETER(pSelect);