diff options
author | drh <> | 2023-11-13 12:05:09 +0000 |
---|---|---|
committer | drh <> | 2023-11-13 12:05:09 +0000 |
commit | 937ea25bcc863efa70a18c44f05a1eddf968b902 (patch) | |
tree | 9863736fdb04e56c5ff1e4d215ca4a872c8d3862 /src/where.c | |
parent | 2f51f78f97be3b59433636dc19c240b7cd3371d1 (diff) | |
download | sqlite-937ea25bcc863efa70a18c44f05a1eddf968b902.tar.gz sqlite-937ea25bcc863efa70a18c44f05a1eddf968b902.zip |
Remove an incorrect ALWAYS() and NEVER().
FossilOrigin-Name: 94f62093866823e013f976db8f80390bee2a9140f4cbec50d1ad8ded28f732ae
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/where.c b/src/where.c index 555bd6a34..cfd5d5e1a 100644 --- a/src/where.c +++ b/src/where.c @@ -5818,9 +5818,9 @@ static SQLITE_NOINLINE void whereAddIndexedExpr( FuncDef *pDef; sqlite3 *db = pParse->db; assert( ExprUseXList(pExpr) ); - n = ALWAYS(pExpr->x.pList) ? pExpr->x.pList->nExpr : 0; + n = pExpr->x.pList ? pExpr->x.pList->nExpr : 0; pDef = sqlite3FindFunction(db, pExpr->u.zToken, n, ENC(db), 0); - if( NEVER(pDef==0) || (pDef->funcFlags & SQLITE_RESULT_SUBTYPE)!=0 ){ + if( pDef==0 || (pDef->funcFlags & SQLITE_RESULT_SUBTYPE)!=0 ){ continue; } } |