aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeblob.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2014-03-11 20:33:04 +0000
committerdan <dan@noemail.net>2014-03-11 20:33:04 +0000
commit5a500afd571a5f1219d6e840e8ab41ba772eb616 (patch)
tree35584c19cb8f28e9aea6b723dac8f5cc7a768fe4 /src/vdbeblob.c
parent468108628c0399f0bc52f639b93317565badb3aa (diff)
downloadsqlite-5a500afd571a5f1219d6e840e8ab41ba772eb616.tar.gz
sqlite-5a500afd571a5f1219d6e840e8ab41ba772eb616.zip
Enable the b-tree cursor objects overflow page-number cache, which is normally enabled only for incr-blob cursors, for all cursors.
FossilOrigin-Name: da59198505990a4fe832be7932117c7e014955b7
Diffstat (limited to 'src/vdbeblob.c')
-rw-r--r--src/vdbeblob.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vdbeblob.c b/src/vdbeblob.c
index cf7495e5b..083f3f413 100644
--- a/src/vdbeblob.c
+++ b/src/vdbeblob.c
@@ -77,9 +77,7 @@ static int blobSeekToRow(Incrblob *p, sqlite3_int64 iRow, char **pzErr){
p->iOffset = pC->aType[p->iCol + pC->nField];
p->nByte = sqlite3VdbeSerialTypeLen(type);
p->pCsr = pC->pCursor;
- sqlite3BtreeEnterCursor(p->pCsr);
- sqlite3BtreeCacheOverflow(p->pCsr);
- sqlite3BtreeLeaveCursor(p->pCsr);
+ sqlite3BtreeIncrblobCursor(p->pCsr);
}
}