1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Remove a NEVER() associated with sqlite_offset()>

FossilOrigin-Name: e29dffcdba6f68af5cb76ca250e06a42183d9db92b60a16b2337b0d43c68bf2e
This commit is contained in:
drh
2022-03-05 23:52:05 +00:00
parent ea840117af
commit dc9513601e
3 changed files with 8 additions and 8 deletions

View File

@@ -2649,7 +2649,7 @@ case OP_Offset: { /* out3 */
rc = sqlite3VdbeFinishMoveto(pC);
if( rc ) goto abort_due_to_error;
}
if( NEVER(sqlite3BtreeEof(pC->uc.pCursor)) ){
if( sqlite3BtreeEof(pC->uc.pCursor) ){
sqlite3VdbeMemSetNull(pOut);
}else{
sqlite3VdbeMemSetInt64(pOut, sqlite3BtreeOffset(pC->uc.pCursor));