SQLite

Check-in [67df444648]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Further refinements to the virtual method implementation of sqlite3PagerGet().
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | pager-get-method
Files: files | file ages | folders
SHA1: 67df44464847b43f8c0b186157e31cc66c1e5796
User & Date: drh 2016-12-13 15:53:22.192
Context
2016-12-13
18:34
In the pager, avoid checking for the illegal page number 0 except when creating a new page. (Closed-Leaf check-in: dee20ba982 user: drh tags: pager-get-method)
15:53
Further refinements to the virtual method implementation of sqlite3PagerGet(). (check-in: 67df444648 user: drh tags: pager-get-method)
14:32
Make the sqlite3PagerGet() interface into a virtual method, with different implementations based on the current state of the pager. This gives a small performance increase by avoiding unnecessary branches inside the various methods. (check-in: df5bb90d20 user: drh tags: pager-get-method)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/pager.c.