aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-08-24 21:54:11 +0000
committerdrh <drh@noemail.net>2012-08-24 21:54:11 +0000
commit7b36ba3da319786dea5deab70c8f8181ebdc2f8f (patch)
tree6ad1d66ed66a705cbbda5eab4027361762a8563a /src
parent606bb3a54e5098cc0ecca29a2241616e0d3d6c42 (diff)
downloadsqlite-7b36ba3da319786dea5deab70c8f8181ebdc2f8f.tar.gz
sqlite-7b36ba3da319786dea5deab70c8f8181ebdc2f8f.zip
Remove a NEVER() that is in fact reachable on an OOM. This probably
has nothing to do with the multi-or-covering-index change but just happened to be found while testing that change. FossilOrigin-Name: 5499af53ebcdc21ae288aa2347aa21f6891d79ef
Diffstat (limited to 'src')
-rw-r--r--src/where.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c
index 05420c9fb..27fb0f8fc 100644
--- a/src/where.c
+++ b/src/where.c
@@ -3622,7 +3622,7 @@ static int codeAllEqualityTerms(
int r1;
int k = pIdx->aiColumn[j];
pTerm = findTerm(pWC, iCur, k, notReady, pLevel->plan.wsFlags, pIdx);
- if( NEVER(pTerm==0) ) break;
+ if( pTerm==0 ) break;
/* The following true for indices with redundant columns.
** Ex: CREATE INDEX i1 ON t1(a,b,a); SELECT * FROM t1 WHERE a=0 AND b=0; */
testcase( (pTerm->wtFlags & TERM_CODED)!=0 );