diff options
author | drh <> | 2024-11-30 12:00:38 +0000 |
---|---|---|
committer | drh <> | 2024-11-30 12:00:38 +0000 |
commit | 03e306b3a19091906a563794b6659ca463f8d7cc (patch) | |
tree | 5eccaf707d9e67ab4f099c3dfabdb426b8297b08 /src | |
parent | 5c208f36a453c821cfcb021d643872e5ebfadbff (diff) | |
download | sqlite-03e306b3a19091906a563794b6659ca463f8d7cc.tar.gz sqlite-03e306b3a19091906a563794b6659ca463f8d7cc.zip |
A NEVER() that was added by [eb5ac9e5b9a4f9c8] is violated by the ifnull()
in-line function. This check-in fixes that problem.
FossilOrigin-Name: 2220ccf4d6fea2413015c72fd318003b4b5afeae7cb7586b714fce36212d8c49
Diffstat (limited to 'src')
-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 afa9ba00f..435ec9d78 100644 --- a/src/expr.c +++ b/src/expr.c @@ -6484,7 +6484,7 @@ static int sqlite3ExprIsIIF(sqlite3 *db, const Expr *pExpr){ if( NEVER(pDef==0) ) return 0; #endif if( (pDef->funcFlags & SQLITE_FUNC_INLINE)==0 ) return 0; - if( NEVER(SQLITE_PTR_TO_INT(pDef->pUserData)!=INLINEFUNC_iif) ) return 0; + if( SQLITE_PTR_TO_INT(pDef->pUserData)!=INLINEFUNC_iif ) return 0; }else if( pExpr->op==TK_CASE ){ if( pExpr->pLeft!=0 ) return 0; }else{ |