mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Change the OP_Last opcode so that it is a no-op if the cursor is already
pointing at the end of the b-tree. FossilOrigin-Name: 663473850c4274270445b3771911fa773a8c405f
This commit is contained in:
@@ -4278,6 +4278,10 @@ int sqlite3BtreeCursorIsValid(BtCursor *pCur){
|
||||
return pCur && pCur->eState==CURSOR_VALID;
|
||||
}
|
||||
#endif /* NDEBUG */
|
||||
int sqlite3BtreeCursorIsValidNN(BtCursor *pCur){
|
||||
assert( pCur!=0 );
|
||||
return pCur->eState==CURSOR_VALID;
|
||||
}
|
||||
|
||||
/*
|
||||
** Return the value of the integer key or "rowid" for a table btree.
|
||||
|
Reference in New Issue
Block a user