diff options
author | drh <drh@noemail.net> | 2019-02-23 00:08:09 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-02-23 00:08:09 +0000 |
commit | 4bdd26dfab8408645b1e32e657355e332b098350 (patch) | |
tree | 34a20953a453a3654eb5c71c63d975f9e816ace6 /src/wherecode.c | |
parent | 50ef6716d2ac75314e76546d074efd694969dba2 (diff) | |
download | sqlite-4bdd26dfab8408645b1e32e657355e332b098350.tar.gz sqlite-4bdd26dfab8408645b1e32e657355e332b098350.zip |
Remove a testcase() macro which is now unreachable due to the contraction of
the use of IN_INDEX_ROWID.
FossilOrigin-Name: 90c5a17cd526b256753f876e575f3e731d5e8b9dd6e196cf8d8f7306e099b91c
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index 4ca9c8853..79189386b 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -582,7 +582,6 @@ static int codeEqualityTerm( if( pLoop->aLTerm[i]->pExpr==pX ){ int iOut = iReg + i - iEq; if( eType==IN_INDEX_ROWID ){ - testcase( nEq>1 ); /* Happens with a UNIQUE index on ROWID */ pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iOut); }else{ int iCol = aiMap ? aiMap[iMap++] : 0; |