mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Fix another problem involving vector range constraints and mixed ASC/DESC indexes.
FossilOrigin-Name: 1559f4c43473e107f7196eea3ee91c53ede22999
This commit is contained in:
@@ -2234,7 +2234,7 @@ int whereRangeVectorLen(
|
||||
if( pLhs->op!=TK_COLUMN
|
||||
|| pLhs->iTable!=iCur
|
||||
|| pLhs->iColumn!=pIdx->aiColumn[i+nEq]
|
||||
|| pIdx->aSortOrder[i]!=pIdx->aSortOrder[0]
|
||||
|| pIdx->aSortOrder[i+nEq]!=pIdx->aSortOrder[nEq]
|
||||
){
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user