aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeblob.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-11-25 19:18:28 +0000
committerdrh <drh@noemail.net>2016-11-25 19:18:28 +0000
commitcb3cabd01b81ff1c4a31466cccef809b665a6999 (patch)
tree9216b6ee0d514bcffc33fbafecd1cedd0a9991a1 /src/vdbeblob.c
parent06a09a828addd181074086389b83a283f523458b (diff)
downloadsqlite-cb3cabd01b81ff1c4a31466cccef809b665a6999.tar.gz
sqlite-cb3cabd01b81ff1c4a31466cccef809b665a6999.zip
Refactor the sqlite3BtreeKey() and sqlite3BtreeData() internal interfaces
into sqlite3BtreePayload() and sqlite3BtreePayloadChecked(), respectively. This is a continuation of the optimization started by check-in [2d831074cf]. The result is a slightly smaller and faster binary. FossilOrigin-Name: 49ebc219faea30eaa61def4a3fba2817b9c58a86
Diffstat (limited to 'src/vdbeblob.c')
-rw-r--r--src/vdbeblob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeblob.c b/src/vdbeblob.c
index e4cf28686..520d16c98 100644
--- a/src/vdbeblob.c
+++ b/src/vdbeblob.c
@@ -440,7 +440,7 @@ static int blobReadWrite(
** Read data from a blob handle.
*/
int sqlite3_blob_read(sqlite3_blob *pBlob, void *z, int n, int iOffset){
- return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreeData);
+ return blobReadWrite(pBlob, z, n, iOffset, sqlite3BtreePayloadChecked);
}
/*