mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
:-) (CVS 79)
FossilOrigin-Name: 305b043f4f71278d6d2c32e6e457f63efefae20d
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
** This file contains C code routines that are called by the parser
|
||||
** to handle SELECT statements.
|
||||
**
|
||||
** $Id: select.c,v 1.20 2000/06/08 11:13:02 drh Exp $
|
||||
** $Id: select.c,v 1.21 2000/06/08 11:25:01 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -781,6 +781,7 @@ int sqliteSelect(
|
||||
/* Do an analysis of aggregate expressions.
|
||||
*/
|
||||
if( isAgg ){
|
||||
assert( pParse->nAgg==0 && pParse->iAggCount<0 );
|
||||
for(i=0; i<pEList->nExpr; i++){
|
||||
if( sqliteExprAnalyzeAggregates(pParse, pEList->a[i].pExpr) ){
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user