1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix a problem caused by a non-aggregate function with an OVER clause in a multi-row VALUES clause.

FossilOrigin-Name: 10ee6fcba08ab1281235197602148fe062560e1d5034a477b8e7b574dd3e2907
This commit is contained in:
dan
2024-03-18 10:54:48 +00:00
parent 54bf109e80
commit 2f4a8cc2d8
4 changed files with 15 additions and 9 deletions

View File

@@ -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;