aboutsummaryrefslogtreecommitdiff
path: root/src/btree.c
diff options
context:
space:
mode:
authordrh <>2023-07-27 19:39:53 +0000
committerdrh <>2023-07-27 19:39:53 +0000
commit594f5e24c4c3ef1389c24e0e5d1fd8f4bb5d68bb (patch)
treec16cf561c0731c0d7dc3bdc3fbeb7adb8150ac56 /src/btree.c
parent95daf355a78dbfd0a4c17bf3bd49b56020e5aa75 (diff)
downloadsqlite-594f5e24c4c3ef1389c24e0e5d1fd8f4bb5d68bb.tar.gz
sqlite-594f5e24c4c3ef1389c24e0e5d1fd8f4bb5d68bb.zip
The OP_Column opcode caches large column values coming from overflow pages.
FossilOrigin-Name: ab1edcc7fedcf27922d5db4bc1bc673b1495ca9c66eb6debdda7b7776c068888
Diffstat (limited to 'src/btree.c')
-rw-r--r--src/btree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/btree.c b/src/btree.c
index 8817efc71..c23f86e1d 100644
--- a/src/btree.c
+++ b/src/btree.c
@@ -4826,7 +4826,6 @@ void sqlite3BtreeCursorUnpin(BtCursor *pCur){
pCur->curFlags &= ~BTCF_Pinned;
}
-#ifdef SQLITE_ENABLE_OFFSET_SQL_FUNC
/*
** Return the offset into the database file for the start of the
** payload to which the cursor is pointing.
@@ -4838,7 +4837,6 @@ i64 sqlite3BtreeOffset(BtCursor *pCur){
return (i64)pCur->pBt->pageSize*((i64)pCur->pPage->pgno - 1) +
(i64)(pCur->info.pPayload - pCur->pPage->aData);
}
-#endif /* SQLITE_ENABLE_OFFSET_SQL_FUNC */
/*
** Return the number of bytes of payload for the entry that pCur is