SQLite

All files named ”src/fault.c”
Login

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

History for src/fault.c

2016-12-07
15:49
[460f3e5599] part of check-in [f360818737] Rename the SQLITE_OMIT_BUILTIN_TEST compile-time option to SQLITE_UNTESTABLE. (check-in: [f360818737] user: drh branch: trunk, size: 2693)
2015-09-25
16:29
[a64e879e47] part of check-in [2c57b2f386] Disable the SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS mechanism and replace it with SQLITE_TESTCTRL_BENIGN_MALLOC_CTRL, which gives better control. (check-in: [2c57b2f386] user: drh branch: malloc-testing, size: 2204)
2009-11-10
01:30
[160a0c015b] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 2707)
2008-09-02
00:52
[dc88c82184] part of check-in [ef26ea5c46] Continuing work on adding full support for the SQLITE_OMIT_WSD compile-time option. (CVS 5658) (check-in: [ef26ea5c46] user: drh branch: trunk, size: 2767)
2008-06-22
12:37
[3638519d1e] part of check-in [663a590e30] Fix a bug in the KEYINFO handling within select.c. Change the OP_Move opcode to take a count and to move multiple registers. Initial code for the compound-select merge optimization is added but is incomplete and is commented out. (CVS 5272) (check-in: [663a590e30] user: drh branch: trunk, size: 2069)
2008-06-20
14:59
[98922e8895] part of check-in [56c8af1452] 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 branch: trunk, size: 2077)
11:05
[dd9ec1b837] part of check-in [4ae21e3419] Move (almost all) malloc failure test logic from fault.c to test_malloc.c. (CVS 5253) (check-in: [4ae21e3419] user: danielk1977 branch: trunk, size: 1781)
2008-06-19
18:17
[34d0f93490] part of check-in [d22cd2a59f] Move the malloc() failure simulation out of malloc.c and into a separate sqlite3_mem_methods interface. Still some related changes to come. (CVS 5250) (check-in: [d22cd2a59f] user: danielk1977 branch: trunk, size: 6685)
2008-05-15
19:43
[1f6177188e] part of check-in [cf1fb2d850] Add version tag comments to source files that lack them. Tickets #3118 and #3119. (CVS 5136) (check-in: [cf1fb2d850] user: drh branch: trunk, size: 5255)
2008-05-13
13:27
[f8728f9020] part of check-in [a9d1d93135] Make the benign-fault setting recursive. Make all malloc failures during a rollback benign since there is nothing we can do about them. (CVS 5128) (check-in: [a9d1d93135] user: drh branch: trunk, size: 5200)
2008-03-27
22:42
[83057e8681] part of check-in [3cb704c4c4] Allow the xAccess method in the VFS to return -1 to signal an I/O error, and in particular an SQLITE_IOERR_NOMEM. (CVS 4925) (check-in: [3cb704c4c4] user: drh branch: trunk, size: 4914)
2008-03-21
16:45
[c28478c719] part of check-in [2498d3ea36] Add a completely new testing system for the Bitvec object. The new testing system uses sqlite3_test_control() instead of unpublished APIs. Now provides 100% condition/decision coverage. Obscure bugs in Bitvec found and fixed as a result of the enhanced coverage. (CVS 4902) (check-in: [2498d3ea36] user: drh branch: trunk, size: 4791)
2008-03-19
14:15
[039abb45c9] part of check-in [15110ea027] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (check-in: [15110ea027] user: drh branch: trunk, size: 4782)
2008-01-22
21:30
Added: [049b88b8ba] part of check-in [1a335e1801] Add the fault injector module in fault.c. Use it as a basis for memory allocation failure testing. (CVS 4742) (check-in: [1a335e1801] user: drh branch: trunk, size: 4794)