diff options
author | drh <drh@noemail.net> | 2012-12-07 14:02:14 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2012-12-07 14:02:14 +0000 |
commit | 4b17cf58559a0759942aa7d984ed1a27b03a76e2 (patch) | |
tree | bd6f5aac52ce268c3722eaf22691562f9de8b534 /src/where.c | |
parent | ae80ddea9f4cf8505b5a27aeec3fa8b959218064 (diff) | |
download | sqlite-4b17cf58559a0759942aa7d984ed1a27b03a76e2.tar.gz sqlite-4b17cf58559a0759942aa7d984ed1a27b03a76e2.zip |
Veryquick now row to completion without segfaulting or asserting. But there
are still lots of errors.
FossilOrigin-Name: 7fafab12e4c0c832c421975f8329c3214403d281
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c index 02fb72207..459081e3e 100644 --- a/src/where.c +++ b/src/where.c @@ -665,7 +665,7 @@ static WhereTerm *findTerm( */ assert(pX->pLeft); pColl = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pX->pRight); - assert(pColl || pParse->nErr); + if( pColl==0 ) pColl = pParse->db->pDfltColl; for(j=0; pIdx->aiColumn[j]!=iColumn; j++){ if( NEVER(j>=pIdx->nColumn) ) return 0; |