mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Fix one minor error in order to get all legacy tests to pass.
FossilOrigin-Name: 5a885139c433a143302ab43dc5aaac1fed9db61548b4ff7d4b19b3a6a46c8fcc
This commit is contained in:
@@ -6687,7 +6687,7 @@ static void finalizeAggFunctions(Parse *pParse, AggInfo *pAggInfo){
|
||||
ExprList *pList;
|
||||
assert( ExprUseXList(pF->pFExpr) );
|
||||
pList = pF->pFExpr->x.pList;
|
||||
if( pF->iOBTab ){
|
||||
if( pF->iOBTab>=0 ){
|
||||
/* For an ORDER BY aggregate, calls to OP_AggStep where deferred and
|
||||
** all content was stored in emphermal table pF->iOBTab. Extract that
|
||||
** content now (in ORDER BY order) and make all calls to OP_AggStep
|
||||
|
||||
Reference in New Issue
Block a user