mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Add an ALWAYS on branch that was made always-true by the DISTINCT ORDER BY
fix. FossilOrigin-Name: c29ebcb0be8e969c359c077bd4ce752a9c952d2659062868f12efdd2cc77186d
This commit is contained in:
@@ -6715,7 +6715,7 @@ static void finalizeAggFunctions(Parse *pParse, AggInfo *pAggInfo){
|
||||
assert( ExprUseXList(pF->pFExpr->pLeft) );
|
||||
assert( pF->pFExpr->pLeft->x.pList!=0 );
|
||||
nKey = pF->pFExpr->pLeft->x.pList->nExpr;
|
||||
if( !pF->bOBUnique ) nKey++;
|
||||
if( ALWAYS(!pF->bOBUnique) ) nKey++;
|
||||
}
|
||||
iTop = sqlite3VdbeAddOp1(v, OP_Rewind, pF->iOBTab); VdbeCoverage(v);
|
||||
for(j=nArg-1; j>=0; j--){
|
||||
|
||||
Reference in New Issue
Block a user