mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Remove an unnecessary conditional.
FossilOrigin-Name: 7473c4dfc10a47594affa6f4e071a08dc8838c0c
This commit is contained in:
@@ -3717,7 +3717,7 @@ static void whereInfoFree(sqlite3 *db, WhereInfo *pWInfo){
|
||||
*/
|
||||
static int whereLoopProperSubset(const WhereLoop *pA, const WhereLoop *pB){
|
||||
int i, j;
|
||||
if( pA->nLTerm>=pB->nLTerm ) return 0;
|
||||
assert( pA->nLTerm<pB->nLTerm ); /* Checked by calling function */
|
||||
for(j=0, i=pA->nLTerm-1; i>=0 && j>=0; i--){
|
||||
for(j=pB->nLTerm-1; j>=0; j--){
|
||||
if( pB->aLTerm[j]==pA->aLTerm[i] ) break;
|
||||
|
||||
Reference in New Issue
Block a user