diff options
author | drh <drh@noemail.net> | 2000-06-08 15:10:46 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2000-06-08 15:10:46 +0000 |
commit | 4cfa793437906e51f6b6a86ecb87a6d3a726a8e2 (patch) | |
tree | 2030c994f6626440b7452103cb0ff887c09b70b1 /src/expr.c | |
parent | 6e142f547944745eb91b80248fae3149b9b1281a (diff) | |
download | sqlite-4cfa793437906e51f6b6a86ecb87a6d3a726a8e2.tar.gz sqlite-4cfa793437906e51f6b6a86ecb87a6d3a726a8e2.zip |
:-) (CVS 81)
FossilOrigin-Name: 61c381e7e6c85619b7b494417956fc209c5b7b84
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c index a3200eb4d..d487ca3a4 100644 --- a/src/expr.c +++ b/src/expr.c @@ -23,7 +23,7 @@ ************************************************************************* ** This file contains C code routines used for processing expressions ** -** $Id: expr.c,v 1.13 2000/06/08 13:36:40 drh Exp $ +** $Id: expr.c,v 1.14 2000/06/08 15:10:47 drh Exp $ */ #include "sqliteInt.h" @@ -400,7 +400,8 @@ int sqliteExprCheck(Parse *pParse, Expr *pExpr, int allowAgg, int *pIsAgg){ if( is_agg ) pExpr->op = TK_AGG_FUNCTION; if( is_agg && pIsAgg ) *pIsAgg = 1; for(i=0; nErr==0 && i<n; i++){ - nErr = sqliteExprCheck(pParse, pExpr->pList->a[i].pExpr, 0, 0); + nErr = sqliteExprCheck(pParse, pExpr->pList->a[i].pExpr, + allowAgg && !is_agg, pIsAgg); } } default: { |