diff options
author | drh <> | 2023-04-13 14:50:50 +0000 |
---|---|---|
committer | drh <> | 2023-04-13 14:50:50 +0000 |
commit | 017bdf7838183f6978796c9ae852895ee26e59ff (patch) | |
tree | 7377a11e65a63717b089fc734a15413bcdf94455 /src/expr.c | |
parent | 3f4a319934d59192880d3a5570b42381b985c61a (diff) | |
download | sqlite-017bdf7838183f6978796c9ae852895ee26e59ff.tar.gz sqlite-017bdf7838183f6978796c9ae852895ee26e59ff.zip |
Fix a code-generator issue associated with very unusual use of window
functions. Both the expr.c or the window.c changes will each
independently fix the problem. They are both included in this patch for
defense in depth. [forum:/forumpost/0d48347967|Forum post 0d48347967].
FossilOrigin-Name: 1ba22631a7831e3562eda0eb6a5edf7f009c85c7ab4451d9eacd13ef0fb6036a
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 00c67a4e6..ebaf13af1 100644 --- a/src/expr.c +++ b/src/expr.c @@ -6493,7 +6493,7 @@ static int analyzeAggregate(Walker *pWalker, Expr *pExpr){ } /* endif pExpr->iTable==pItem->iCursor */ } /* end loop over pSrcList */ } - return WRC_Prune; + return WRC_Continue; } case TK_AGG_FUNCTION: { if( (pNC->ncFlags & NC_InAggFunc)==0 |