1
0
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:
dan
2016-08-03 16:39:04 +00:00
parent d66e5794d1
commit 2c628ea9d9
4 changed files with 13 additions and 9 deletions

View File

@@ -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;
}