1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +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:
drh
2016-11-15 04:00:24 +00:00
parent c9b9deaee2
commit d6ef5afe3f
5 changed files with 33 additions and 17 deletions

View File

@@ -310,6 +310,7 @@ int sqlite3HeaderSizeBtree(void);
#ifndef NDEBUG
int sqlite3BtreeCursorIsValid(BtCursor*);
#endif
int sqlite3BtreeCursorIsValidNN(BtCursor*);
#ifndef SQLITE_OMIT_BTREECOUNT
int sqlite3BtreeCount(BtCursor *, i64 *);