/ File History
Login

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

History of test/malloc3.test

2018-01-23
14:01
In SQLITE_ENABLE_BATCH_ATOMIC_WRITE builds on F2FS file-systems, invoke SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE if an SQLITE_FCNTL_COMMIT_ATOMIC_WRITE call fails. Also, do not use an atomic transaction to create the initial database. This is because if an error occurs while writing to the db file, any changes to the file-size do not seem to be rolled back automatically. The only time this matters is when the file was 0 bytes in size to start with. file: [6e88bae6] check-in: [b3122db1] user: dan branch: trunk, size: 21743
2013-03-21
21:20
Many spelling fixes in comments. No changes to code. file: [e3b32c72] check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 21345
2012-12-07
10:55
Do not run test file malloc3.test as part of the inmemory_journal permutation. Explanation is in a comment at the top of malloc3.test. file: [3e9eb921] check-in: [df1827b1] user: dan branch: trunk, size: 21343
2012-12-06
04:19
Bring the ancient malloc3.test file closer into relevance with the latest core code. file: [c4f172a3] check-in: [9793a21c] user: mistachkin branch: trunk, size: 20696
2011-08-02
00:57
Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried. file: [de8eca0c] check-in: [9007586f] user: mistachkin branch: winopen-retry-logic, size: 20303
2010-10-05
17:02
Have the pager change to at least WRITER_CACHEMOD state before marking any pages as dirty (instead of immediately after). Otherwise, if an error occurs, the pager may be left in WRITER_LOCKED state with dirty pages in the cache. file: [4128b1e6] check-in: [471a4efb] user: dan branch: trunk, size: 20317
2008-10-14
15:54
Make sure malloc3.test runs even if a CREATE TABLE transaction commits prior to the last OOM error. (CVS 5820) file: [4bc57f85] check-in: [603c40e5] user: drh branch: trunk, size: 20316
2008-05-13
19:41
On instruction from DRH, only do malloc failure tests for O/S ops on non-Windows systems. Better test fixture code will be introduced in 3.6.0 to add this coverage back in for Windows. (CVS 5130) file: [094f8195] check-in: [e4aab150] user: shane branch: trunk, size: 20304
13:27
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) file: [b0bc1427] check-in: [a9d1d931] user: drh branch: trunk, size: 20381
00:58
Update the pager so that it does not try to commit a transaction if there have been no changes to the database. (CVS 5127) file: [9943abf6] check-in: [f1ed3689] user: drh branch: trunk, size: 20382
2008-02-18
22:24
Add the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c. Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795) file: [c724bc1c] check-in: [63da5d97] user: drh branch: trunk, size: 20288
2008-01-16
17:46
Get all tests running without memory leaks. (CVS 4714) file: [5d3839af] check-in: [5807921f] user: drh branch: trunk, size: 20258
2007-12-13
21:54
Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) file: [e484ae14] check-in: [4e91a267] user: drh branch: trunk, size: 20221
2007-10-09
08:29
Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480) file: [3d690cbd] check-in: [07c00fff] user: danielk1977 branch: trunk, size: 20233
2007-10-03
08:46
Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454) file: [cf2efe9d] check-in: [12eca32a] user: danielk1977 branch: trunk, size: 20172
2007-09-03
16:12
Enable threadsafe builds by default in configure. Ticket #2606. Changes to test scripts to do better testing under all configurations. (CVS 4379) file: [d10a1f48] check-in: [d66e08fd] user: drh branch: trunk, size: 19958
2007-08-31
05:00
Fix a problem in malloc3.test preventing all.test from completing. No code changes. (CVS 4351) file: [39b72b04] check-in: [ee9b3e5e] user: danielk1977 branch: trunk, size: 19965
2007-08-30
14:41
Fixes to malloc3.test so that it can run in transient or persistent failure mode. (CVS 4336) file: [ca656197] check-in: [e14e3688] user: danielk1977 branch: trunk, size: 19939
2007-08-29
12:31
Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) file: [95211d9b] check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 19603
2007-08-22
22:04
All of the malloc test cases run. Still seeing failures in malloc4.test. (CVS 4272) file: [65d32350] check-in: [205d0b88] user: drh branch: trunk, size: 19593
2007-03-28
01:59
Fix an memory allocation error revealed by malloc3.test. (CVS 3733) file: [e965954b] check-in: [0f7fdb02] user: drh branch: trunk, size: 19635
2006-01-23
07:52
Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993) file: [fd4186be] check-in: [f58bbdc0] user: danielk1977 branch: trunk, size: 19888
2006-01-20
16:32
Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982) file: [5494b3fa] check-in: [7e34163a] user: danielk1977 branch: trunk, size: 19884
10:55
Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980) file: [1cf2376c] check-in: [97491d4e] user: danielk1977 branch: trunk, size: 19543
2006-01-10
18:27
Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906) file: [265644c6] check-in: [16a8172a] user: danielk1977 branch: trunk, size: 19088
2005-12-16
15:24
Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824) file: [9797d39e] check-in: [83c8ae5b] user: danielk1977 branch: trunk, size: 19059
2005-12-09
14:25
Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) file: [56372aaf] check-in: [601c3354] user: danielk1977 branch: trunk, size: 18241
2005-12-07
06:27
Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805) file: [0d60a9d1] check-in: [78f10ca0] user: danielk1977 branch: trunk, size: 18159
2005-12-06
17:48
Allow VACUUM to detach the auxillary database after malloc() fails. (CVS 2804) file: [1c7eebb2] check-in: [6824a78b] user: danielk1977 branch: trunk, size: 17982
12:57
Add test file for new malloc() failure handling. (CVS 2801) file: [4e669aa9] check-in: [0b82f962] user: danielk1977 branch: trunk, size: 17983 Added