SQLite

Check-in [56c8af1452]
Login

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

Overview
Comment:Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 56c8af1452dfdc8da858a2411bd6f3663a8a9326
User & Date: danielk1977 2008-06-20 14:59:51.000
Context
2008-06-20
15:24
Change the SRT_Subroutine mode into SRT_Coroutine. Use co-routines in the INSERT processing logic. (CVS 5255) (check-in: 6b9d92fc3f user: drh tags: trunk)
14:59
Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) (check-in: 56c8af1452 user: danielk1977 tags: trunk)
11:05
Move (almost all) malloc failure test logic from fault.c to test_malloc.c. (CVS 5253) (check-in: 4ae21e3419 user: danielk1977 tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/bitvec.c.
Changes to src/fault.c.
Changes to src/hash.c.
Changes to src/main.c.
Changes to src/pager.c.
Changes to src/sqlite.h.in.
Changes to src/sqliteInt.h.
Changes to src/test8.c.
Changes to src/test_malloc.c.
Changes to src/vdbe.c.
Changes to src/vdbeaux.c.