diff options
author | drh <> | 2024-03-18 13:10:54 +0000 |
---|---|---|
committer | drh <> | 2024-03-18 13:10:54 +0000 |
commit | 871786b7927bc101e25e38d1c446cecd55939ed4 (patch) | |
tree | 4f6aa716f9c4e3a64cbc7538a8e721d9c9d0c909 /src/expr.c | |
parent | 27a5ee855d6428246ea7fc9511a2a10a85c3199c (diff) | |
download | sqlite-871786b7927bc101e25e38d1c446cecd55939ed4.tar.gz sqlite-871786b7927bc101e25e38d1c446cecd55939ed4.zip |
Fix the patch at [10ee6fcba08ab128] so that it works on reduced-size Expr
nodes.
FossilOrigin-Name: 260bd764c3f2d6d067adb9cd0045b7c24d5e00b02ab2735b1cba455a6143ff4c
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 be8339c30..3a7065b21 100644 --- a/src/expr.c +++ b/src/expr.c @@ -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; |