Re: [sqlite] Sqlite 3.3.13; expr.c; analyzeAggregate

2007-03-12 Thread drh
"Noah Hart" <[EMAIL PROTECTED]> wrote: > In expr.c, around line 2253, there is a nested loop which reads: > > for(i=0; inSrc; i++, pItem++){ > if( pExpr->iTable==pItem->iCursor ){ > for(i=0; inSrc; i++, pItem++){ > if( pCol->iTable==pExpr->iTable && >

[sqlite] Sqlite 3.3.13; expr.c; analyzeAggregate

2007-03-12 Thread Noah Hart
In expr.c, around line 2253, there is a nested loop which reads: switch( pExpr->op ){ case TK_AGG_COLUMN: case TK_COLUMN: { /* Check to see if the column is in one of the tables in the FROM ** clause of the aggregate query */ if( pSrcList ){ struct SrcList_item *