mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Merge trunk changes into this branch.
FossilOrigin-Name: db1e60800bc260cdcd604739daaba72c6b486158123fc62a3898aca4ead33cd3
This commit is contained in:
@@ -1325,12 +1325,7 @@ static int gatherSelectWindowsCallback(Walker *pWalker, Expr *pExpr){
|
||||
assert( pWin );
|
||||
assert( IsWindowFunc(pExpr) );
|
||||
assert( pWin->ppThis==0 );
|
||||
if( pSelect->pWin ){
|
||||
pSelect->pWin->ppThis = &pWin->pNextWin;
|
||||
}
|
||||
pWin->pNextWin = pSelect->pWin;
|
||||
pWin->ppThis = &pSelect->pWin;
|
||||
pSelect->pWin = pWin;
|
||||
sqlite3WindowLink(pSelect, pWin);
|
||||
}
|
||||
return WRC_Continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user