1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix some problems with handling "no such collation sequence" errors.

FossilOrigin-Name: 8278be06fa69e3266866220bdaf5be45a5fcfa23
This commit is contained in:
dan
2016-08-11 12:01:52 +00:00
parent 9cd4933ec1
commit 17994e3bca
5 changed files with 31 additions and 10 deletions

View File

@@ -2056,6 +2056,9 @@ int sqlite3FindInIndex(
CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs);
int j;
assert( pReq || pParse->nErr );
if( pReq==0 ) break;
for(j=0; j<nExpr; j++){
if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue;
assert( pIdx->azColl[j] );