mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Fix a minor problem in sqlite3FindInIndex() related to rowids being used
as part of the index. FossilOrigin-Name: 829f802be7d4647dd815b739bbc9e1d1ac6a224d
This commit is contained in:
@@ -2220,8 +2220,9 @@ int sqlite3FindInIndex(
|
||||
for(j=0; j<nExpr; j++){
|
||||
if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue;
|
||||
assert( pIdx->azColl[j] );
|
||||
if( pReq==0 ) continue;
|
||||
if( sqlite3StrICmp(pReq->zName, pIdx->azColl[j])!=0 ) continue;
|
||||
if( pReq!=0 && sqlite3StrICmp(pReq->zName, pIdx->azColl[j])!=0 ){
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if( j==nExpr ) break;
|
||||
|
||||
Reference in New Issue
Block a user