diff options
author | dan <Dan Kennedy> | 2023-11-14 14:50:34 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2023-11-14 14:50:34 +0000 |
commit | d928e78088a37fd14625067c5d41301cc93580e6 (patch) | |
tree | b04faae0228b68b3c9e3d4002dbf8b9cbb3971fc /src/expr.c | |
parent | cb3a0b1b67c09b420f6d590e75811c84777c35af (diff) | |
download | sqlite-d928e78088a37fd14625067c5d41301cc93580e6.tar.gz sqlite-d928e78088a37fd14625067c5d41301cc93580e6.zip |
Fix another obscure problem with nested aggregates. dbsqlfuzz 04408efc51.
FossilOrigin-Name: 6f9eed826f5b3d1cb08402925b406a7fe9b54259af1ba5eba92d4d37fbad628a
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c index 0a975ae2e..04e37e26d 100644 --- a/src/expr.c +++ b/src/expr.c @@ -6769,6 +6769,7 @@ static int analyzeAggregate(Walker *pWalker, Expr *pExpr){ case TK_AGG_FUNCTION: { if( (pNC->ncFlags & NC_InAggFunc)==0 && pWalker->walkerDepth==pExpr->op2 + && pExpr->pAggInfo==0 ){ /* Check to see if pExpr is a duplicate of another aggregate ** function that is already in the pAggInfo structure |