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

Fix the patch at [10ee6fcba08ab128] so that it works on reduced-size Expr

nodes.

FossilOrigin-Name: 260bd764c3f2d6d067adb9cd0045b7c24d5e00b02ab2735b1cba455a6143ff4c
This commit is contained in:
drh
2024-03-18 13:10:54 +00:00
parent 27a5ee855d
commit 871786b792
3 changed files with 8 additions and 8 deletions

View File

@@ -2387,7 +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
|| ExprHasProperty(pExpr, EP_WinFunc)
){
pWalker->eCode = 0;
return WRC_Abort;