mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Basic test cases.
FossilOrigin-Name: 6cccf86c362631ada0c6cbaf661520648f8bbf7ae2b137b3d7d959647387e5c2
This commit is contained in:
@@ -6723,7 +6723,11 @@ static int analyzeAggregate(Walker *pWalker, Expr *pExpr){
|
||||
pItem->pFunc = sqlite3FindFunction(pParse->db,
|
||||
pExpr->u.zToken, nArg, enc, 0);
|
||||
assert( pItem->bOBUnique==0 );
|
||||
if( pExpr->pLeft ){
|
||||
if( pExpr->pLeft
|
||||
&& (pItem->pFunc->funcFlags & SQLITE_FUNC_NEEDCOLL)==0
|
||||
){
|
||||
/* The NEEDCOLL test above causes any ORDER BY clause on
|
||||
** aggregate min() or max() to be ignored. */
|
||||
ExprList *pOBList;
|
||||
assert( nArg>0 );
|
||||
assert( pExpr->pLeft->op==TK_ORDER );
|
||||
|
Reference in New Issue
Block a user