]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Simplify the accessPayload() routine so that it always populates the overflow
authordrh <drh@noemail.net>
Fri, 27 Jan 2017 00:31:59 +0000 (00:31 +0000)
committerdrh <drh@noemail.net>
Fri, 27 Jan 2017 00:31:59 +0000 (00:31 +0000)
commit42e28f12a31d38c22163b782dde53df195d894f3
tree3dcb9e72ff691b167b2c545c780142d9612ac3c0
parent945b094632adb0bc835f4dacca84c7e3f7883dc6
Simplify the accessPayload() routine so that it always populates the overflow
page cache.  In the one case where populating the page cache can lead to
problems, simply invalidate the cache as soon as accessPayload() returns.
This simplification reduces code size and helps accessPayload() to run a
little faster.  This backs out the eOp==2 mode of accessPayload() added by
check-in [da59198505].

FossilOrigin-Name: 68e7a8c6765649195ef1ad9407d87d44a307b462
manifest
manifest.uuid
src/btree.c