/ All files named "test/malloc3.test"
Login

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

History for test/malloc3.test

2018-01-23
14:01
[6e88bae6] part of check-in [b3122db1] 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. (check-in: [b3122db1] user: dan branch: trunk, size: 21743)
2013-03-21
21:20
[e3b32c72] part of check-in [6f6e2d50] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d50] user: mistachkin branch: trunk, size: 21345)
2012-12-07
10:55
[3e9eb921] part of check-in [df1827b1] 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. (check-in: [df1827b1] user: dan branch: trunk, size: 21343)
2012-12-06
04:19
[c4f172a3] part of check-in [9793a21c] Bring the ancient malloc3.test file closer into relevance with the latest core code. (check-in: [9793a21c] user: mistachkin branch: trunk, size: 20696)
2011-08-02
00:57
[de8eca0c] part of check-in [9007586f] 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. (check-in: [9007586f] user: mistachkin branch: winopen-retry-logic, size: 20303)
2010-10-05
17:02
[4128b1e6] part of check-in [471a4efb] 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. (check-in: [471a4efb] user: dan branch: trunk, size: 20317)
2008-10-14
15:54
[4bc57f85] part of check-in [603c40e5] Make sure malloc3.test runs even if a CREATE TABLE transaction commits prior to the last OOM error. (CVS 5820) (check-in: [603c40e5] user: drh branch: trunk, size: 20316)
2008-05-13
19:41
[094f8195] part of check-in [e4aab150] 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) (check-in: [e4aab150] user: shane branch: trunk, size: 20304)
13:27
[b0bc1427] part of check-in [a9d1d931] 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: [a9d1d931] user: drh branch: trunk, size: 20381)
00:58
[9943abf6] part of check-in [f1ed3689] Update the pager so that it does not try to commit a transaction if there have been no changes to the database. (CVS 5127) (check-in: [f1ed3689] user: drh branch: trunk, size: 20382)
2008-02-18
22:24
[c724bc1c] part of check-in [63da5d97] 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) (check-in: [63da5d97] user: drh branch: trunk, size: 20288)
2008-01-16
17:46
[5d3839af] part of check-in [5807921f] Get all tests running without memory leaks. (CVS 4714) (check-in: [5807921f] user: drh branch: trunk, size: 20258)
2007-12-13
21:54
[e484ae14] part of check-in [4e91a267] 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) (check-in: [4e91a267] user: drh branch: trunk, size: 20221)
2007-10-09
08:29
[3d690cbd] part of check-in [07c00fff] Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480) (check-in: [07c00fff] user: danielk1977 branch: trunk, size: 20233)
2007-10-03
08:46
[cf2efe9d] part of check-in [12eca32a] Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454) (check-in: [12eca32a] user: danielk1977 branch: trunk, size: 20172)
2007-09-03
16:12
[d10a1f48] part of check-in [d66e08fd] Enable threadsafe builds by default in configure. Ticket #2606. Changes to test scripts to do better testing under all configurations. (CVS 4379) (check-in: [d66e08fd] user: drh branch: trunk, size: 19958)
2007-08-31
05:00
[39b72b04] part of check-in [ee9b3e5e] Fix a problem in malloc3.test preventing all.test from completing. No code changes. (CVS 4351) (check-in: [ee9b3e5e] user: danielk1977 branch: trunk, size: 19965)
2007-08-30
14:41
[ca656197] part of check-in [e14e3688] Fixes to malloc3.test so that it can run in transient or persistent failure mode. (CVS 4336) (check-in: [e14e3688] user: danielk1977 branch: trunk, size: 19939)
2007-08-29
12:31
[95211d9b] part of check-in [e38ef81b] Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) (check-in: [e38ef81b] user: danielk1977 branch: trunk, size: 19603)
2007-08-22
22:04
[65d32350] part of check-in [205d0b88] All of the malloc test cases run. Still seeing failures in malloc4.test. (CVS 4272) (check-in: [205d0b88] user: drh branch: trunk, size: 19593)
2007-03-28
01:59
[e965954b] part of check-in [0f7fdb02] Fix an memory allocation error revealed by malloc3.test. (CVS 3733) (check-in: [0f7fdb02] user: drh branch: trunk, size: 19635)
2006-01-23
07:52
[fd4186be] part of check-in [f58bbdc0] Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993) (check-in: [f58bbdc0] user: danielk1977 branch: trunk, size: 19888)
2006-01-20
16:32
[5494b3fa] part of check-in [7e34163a] Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982) (check-in: [7e34163a] user: danielk1977 branch: trunk, size: 19884)
10:55
[1cf2376c] part of check-in [97491d4e] Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980) (check-in: [97491d4e] user: danielk1977 branch: trunk, size: 19543)
2006-01-10
18:27
[265644c6] part of check-in [16a8172a] Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906) (check-in: [16a8172a] user: danielk1977 branch: trunk, size: 19088)
2005-12-16
15:24
[9797d39e] part of check-in [83c8ae5b] Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824) (check-in: [83c8ae5b] user: danielk1977 branch: trunk, size: 19059)
2005-12-09
14:25
[56372aaf] part of check-in [601c3354] Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) (check-in: [601c3354] user: danielk1977 branch: trunk, size: 18241)
2005-12-07
06:27
[0d60a9d1] part of check-in [78f10ca0] Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805) (check-in: [78f10ca0] user: danielk1977 branch: trunk, size: 18159)
2005-12-06
17:48
[1c7eebb2] part of check-in [6824a78b] Allow VACUUM to detach the auxillary database after malloc() fails. (CVS 2804) (check-in: [6824a78b] user: danielk1977 branch: trunk, size: 17982)
12:57
Added: [4e669aa9] part of check-in [0b82f962] Add test file for new malloc() failure handling. (CVS 2801) (check-in: [0b82f962] user: danielk1977 branch: trunk, size: 17983)