1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Minor tweak to patch on this branch to reclaim some cycles.

FossilOrigin-Name: 81eed055de856068109a7e332cca0c3ff1120ebe2bfa5ed6383b165c726e0a7c
This commit is contained in:
dan
2019-07-05 17:38:55 +00:00
parent 16e12c573d
commit b28c4e564a
5 changed files with 20 additions and 10 deletions

View File

@@ -6240,7 +6240,9 @@ int sqlite3Select(
sqlite3ExprAnalyzeAggList(&sNC, pExpr->x.pList);
#ifndef SQLITE_OMIT_WINDOWFUNC
assert( !ExprHasProperty(pExpr, EP_WinFunc) );
sqlite3ExprAnalyzeAggregates(&sNC, pExpr->y.pFilter);
if( pExpr->y.pFilter ){
sqlite3ExprAnalyzeAggregates(&sNC, pExpr->y.pFilter);
}
#endif
sNC.ncFlags &= ~NC_InAggFunc;
}