!114 修复漏洞

Merge pull request !114 from zwtmichael/my_master2
This commit is contained in:
openharmony_ci 2024-09-03 15:09:34 +00:00 committed by Gitee
commit 25d8055499
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -104825,7 +104825,7 @@ static int resolveExprStep(Walker *pWalker, Expr *pExpr){
sqlite3WalkExprList(pWalker, pList);
if( is_agg ){
#ifndef SQLITE_OMIT_WINDOWFUNC
if( pWin ){
if( pWin && pParse->nErr==0 ){
Select *pSel = pNC->pWinSelect;
assert( pWin==0 || (ExprUseYWin(pExpr) && pWin==pExpr->y.pWin) );
if( IN_RENAME_OBJECT==0 ){