diff options
author | drh <> | 2023-11-10 16:29:02 +0000 |
---|---|---|
committer | drh <> | 2023-11-10 16:29:02 +0000 |
commit | 53381132be7ca901d821922f31bd62d4558fc489 (patch) | |
tree | 5be1171b5ded59728d19fb19d2ec9dc10795ca5c /src | |
parent | 0eed27d38bdd23c596f46d24dd81be9af470dcd6 (diff) | |
download | sqlite-53381132be7ca901d821922f31bd62d4558fc489.tar.gz sqlite-53381132be7ca901d821922f31bd62d4558fc489.zip |
Remove a NEVER() from whereAddIndexedExpr() that is reachable if there
is an unknown indexed function in the schema.
FossilOrigin-Name: a976b7208ff8603d7353ce9a0bdfba8e681cbb2ed3de6cfb5f0e8b07312ab86f
Diffstat (limited to 'src')
-rw-r--r-- | src/where.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c index 555bd6a34..48722a8a8 100644 --- a/src/where.c +++ b/src/where.c @@ -5820,7 +5820,7 @@ static SQLITE_NOINLINE void whereAddIndexedExpr( assert( ExprUseXList(pExpr) ); n = ALWAYS(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; } } |