1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-16 23:02:26 +03:00

Relax an assertion on the sqlite3WhereEnd() routine after dbsqlfuzz found

a counter-example.

FossilOrigin-Name: e6b591e76523034c41884b39d71d4b721f1df709bdafd842e2d4b4084c158ec0
This commit is contained in:
drh
2021-04-05 22:42:15 +00:00
parent 9ce612a66f
commit e0cc26734e
3 changed files with 8 additions and 8 deletions

View File

@@ -5567,7 +5567,7 @@ void sqlite3WhereEnd(WhereInfo *pWInfo){
#endif
pOp = sqlite3VdbeGetOp(v, k);
pLastOp = pOp + (last - k);
assert( pOp<pLastOp || (pParse->nErr>0 && pOp==pLastOp) );
assert( pOp<=pLastOp );
do{
if( pOp->p1!=pLevel->iTabCur ){
/* no-op */