mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Convert several 5-year-old and older NEVER() macros into assert().
FossilOrigin-Name: ed54c14ea8a72d69d69e0c0d7f6936f54efc04c2
This commit is contained in:
@@ -4056,9 +4056,8 @@ case OP_NewRowid: { /* out2 */
|
||||
assert( pOp->p1>=0 && pOp->p1<p->nCursor );
|
||||
pC = p->apCsr[pOp->p1];
|
||||
assert( pC!=0 );
|
||||
if( NEVER(pC->pCursor==0) ){
|
||||
/* The zero initialization above is all that is needed */
|
||||
}else{
|
||||
assert( pC->pCursor!=0 );
|
||||
{
|
||||
/* The next rowid or record number (different terms for the same
|
||||
** thing) is obtained in a two-step algorithm.
|
||||
**
|
||||
|
Reference in New Issue
Block a user