1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

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
This commit is contained in:
drh
2016-11-25 19:18:28 +00:00
parent 06a09a828a
commit cb3cabd01b
10 changed files with 42 additions and 62 deletions

View File

@@ -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);
}
/*