diff options
author | drh <> | 2023-04-04 18:10:23 +0000 |
---|---|---|
committer | drh <> | 2023-04-04 18:10:23 +0000 |
commit | c6a54f418c3dc75ac552e03a084b4d6e29c258e3 (patch) | |
tree | 0bd6e6fa978160a7f51612cc95859472bbecd9cb /src | |
parent | 20537f0dc76137f8ca08b372690cd0b22ef18681 (diff) | |
download | sqlite-c6a54f418c3dc75ac552e03a084b4d6e29c258e3.tar.gz sqlite-c6a54f418c3dc75ac552e03a084b4d6e29c258e3.zip |
Remove an assert() statement that is no longer valid due to enhancements
to query planner for improved use of indexes.
[forum:/forumpost/dc16ec63d3 |Forum post dc16ec63d3].
FossilOrigin-Name: 2b23dd249d0bc254308f5539936d33ee558f1100dec616caac7317dbe70db761
Diffstat (limited to 'src')
-rw-r--r-- | src/expr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index bcc71fad1..47cfba223 100644 --- a/src/expr.c +++ b/src/expr.c @@ -2936,7 +2936,6 @@ int sqlite3FindInIndex( CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); int j; - assert( pReq!=0 || pRhs->iColumn==XN_ROWID || pParse->nErr ); for(j=0; j<nExpr; j++){ if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue; assert( pIdx->azColl[j] ); |