diff options
author | dan <Dan Kennedy> | 2024-03-18 10:54:48 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2024-03-18 10:54:48 +0000 |
commit | 2f4a8cc2d8f1ce29814a97887d9e8e96e9ed7725 (patch) | |
tree | 13a18d09e02de4397134435ae426d04f349e26b2 /src/expr.c | |
parent | 54bf109e807cc2c12cd81883affd008d718d0748 (diff) | |
download | sqlite-2f4a8cc2d8f1ce29814a97887d9e8e96e9ed7725.tar.gz sqlite-2f4a8cc2d8f1ce29814a97887d9e8e96e9ed7725.zip |
Fix a problem caused by a non-aggregate function with an OVER clause in a multi-row VALUES clause.
FossilOrigin-Name: 10ee6fcba08ab1281235197602148fe062560e1d5034a477b8e7b574dd3e2907
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 3ba07fb2d..be8339c30 100644 --- a/src/expr.c +++ b/src/expr.c @@ -2387,6 +2387,7 @@ static SQLITE_NOINLINE int exprNodeIsConstantFunction( if( pDef==0 || pDef->xFinalize!=0 || (pDef->funcFlags & (SQLITE_FUNC_CONSTANT|SQLITE_FUNC_SLOCHNG))==0 + || pExpr->y.pWin ){ pWalker->eCode = 0; return WRC_Abort; |