/ History for test/corrupt2.test
Login

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

History for test/corrupt2.test

2019-02-11
17:22
[bb50042c] part of check-in [480a5090] Fix test cases. Avoid unnecessary tests for MemPage.nFree less than zero. (check-in: [480a5090] user: drh branch: deferred-free-space, size: 18134)
2018-11-06
19:26
[a7f95356] part of check-in [a1d6c671] Enable DEFENSIVE mode by default for tests. This requires lots of case of turning DEFENSIVE off in order to dodgy things to the database for testing purposes. No all of those cases are yet handled, so "make test" does not run to completion. (check-in: [a1d6c671] user: drh branch: read-only-shadow, size: 18052)
2018-07-20
13:39
[fdfdffab] part of check-in [11e58f5b] Enhanced detection of problems on the freelist and on overflow list in PRAGMA integrity_check. (check-in: [11e58f5b] user: drh branch: trunk, size: 17981)
2017-07-10
12:07
[b6281cea] part of check-in [f27b6370] Update error message text for standard error codes to better describe the latest usage of those error codes. Modify sqlite3_open_v2() so that it does return a valid sqlite3 object in the event of SQLITE_MISUSE due to bad open flags, so that sqlite3_errmsg() does not report "out of memory" in that case. (check-in: [f27b6370] user: drh branch: trunk, size: 17974)
2016-03-15
12:37
[e4964cee] part of check-in [2fd095b1] More test-case changes so that everything works when the reserved_bytes value in the header is non-zero. (check-in: [2fd095b1] user: drh branch: trunk, size: 18006)
2015-09-18
14:45
[cb787825] part of check-in [26f64986] Ensure that "PRAGMA integrity_check" reports an error if the free-list count header field contains a value smaller than the actual number of pages on the database free-list. (check-in: [26f64986] user: dan branch: trunk, size: 17923)
2015-07-02
16:17
[08cec1e5] part of check-in [251a7590] Smaller and faster PRAGMA integrity_check that also does a better job of detecting errors. Some output text describing discovered file corruption has changed for clarity. (check-in: [251a7590] user: drh branch: trunk, size: 16802)
2015-07-01
17:13
[929c68b8] part of check-in [1c522123] Rework the PRAGMA integrity_check logic. Simplify the checkTreePage() routine and clean up the error messages generated. (check-in: [1c522123] user: drh branch: integrity-check-refactor, size: 16836)
2013-11-29
15:06
[f2064e0b] part of check-in [15e4f63d] Add a new sqlite3_test_control() that indicates that database files are always well-formed. Use this during testing to enable assert() statements that prove conditions that are always true for well-formed databases. (check-in: [15e4f63d] user: drh branch: trunk, size: 16850)
2013-11-01
17:21
[b8174976] part of check-in [dd5d57b9] Merge all changes from trunk, and disable a pair of corruption tests that are no longer valid since sqlite_master.rootpage can now be NULL for tables. (check-in: [dd5d57b9] user: drh branch: omit-rowid, size: 16989)
2013-03-27
19:53
[7db8c262] part of check-in [0e3d5119] Modify various test cases so that they work if the file is extended in units of the system page-size. (check-in: [0e3d5119] user: dan branch: two-mappings, size: 16768)
2011-08-02
00:57
[9c0ab4be] 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: 16776)
2010-07-08
09:44
[808a28d0] part of check-in [f553c8ed] Changes to test scripts so that the "inmemory_journal" permutation works with [ef126e775a]. (check-in: [f553c8ed] user: dan branch: trunk, size: 16888)
2010-06-22
13:46
[ada8f27d] part of check-in [85dd51a7] Some changes to test scripts related to codec enabled versions of sqlite. (check-in: [85dd51a7] user: dan branch: trunk, size: 16500)
2010-03-27
17:12
[576122d7] part of check-in [b844ac6f] Experimental changes that cause SQLite to use bytes 28..31 of the database header to determine the database size, rather than using the actual database size. This allows database space to be preallocated. (check-in: [b844ac6f] user: drh branch: experimental, size: 16335)
2009-04-06
17:50
[a571e30e] part of check-in [def3a016] Test cases and minor code changes to increase coverage of btree.c. (CVS 6456) (check-in: [def3a016] user: danielk1977 branch: trunk, size: 16257)
2009-04-02
18:28
[465786cf] part of check-in [8f142344] Fix a problem causing the BtShared.isPending flag to be cleared to early. Also coverage improvements for btree.c. (CVS 6440) (check-in: [8f142344] user: danielk1977 branch: trunk, size: 15177)
2008-09-29
11:49
[b83f6907] part of check-in [40425e93] Instead of storing a pointer to the parent page in the MemPage structure, have each B-Tree cursor keep track of the ancestry of the current page. (CVS 5747) (check-in: [40425e93] user: danielk1977 branch: trunk, size: 13571)
2008-09-10
11:28
[08fb049f] part of check-in [099adfd3] Avoid deleting a file while it is still open in corrupt2.test. Not all platforms support this. (CVS 5687) (check-in: [099adfd3] user: danielk1977 branch: trunk, size: 13673)
2008-09-08
09:06
[62a2773b] part of check-in [a7b7b126] If the 'rootpage' column of the sqlite_master table contains a NULL value, return SQLITE_CORRUPT to the caller. (CVS 5681) (check-in: [a7b7b126] user: danielk1977 branch: trunk, size: 13662)
2008-08-27
16:14
[d1e209b0] part of check-in [12f2d24f] Clear the $result variable prior to using it in corrupt2.test. (CVS 5624) (check-in: [12f2d24f] user: drh branch: trunk, size: 13274)
2008-08-02
20:09
[a6b90515] part of check-in [e63186b0] Test scripts revised to work when auto_vacuum defaults on. (CVS 5528) (check-in: [e63186b0] user: drh branch: trunk, size: 13249)
2008-07-08
17:13
[e56f4500] part of check-in [d74fbb81] Test another corruption case in btree.c. And an IO error related scenario. (CVS 5371) (check-in: [d74fbb81] user: danielk1977 branch: trunk, size: 13150)
15:59
[26810e00] part of check-in [96df0a5f] 3 more coverage tests for btree.c. (CVS 5370) (check-in: [96df0a5f] user: danielk1977 branch: trunk, size: 11858)
14:31
[e4b03d9d] part of check-in [f781a681] Another corruption related test case. (CVS 5367) (check-in: [f781a681] user: danielk1977 branch: trunk, size: 10471)
12:07
[30a89c76] part of check-in [08334f60] Extra coverage tests for btree.c. (CVS 5365) (check-in: [08334f60] user: danielk1977 branch: trunk, size: 9429)
10:19
[bef3b73f] part of check-in [f6d9cb83] Improve coverage of btree.c. (CVS 5363) (check-in: [f6d9cb83] user: danielk1977 branch: trunk, size: 8871)
2008-07-07
17:55
[33c15462] part of check-in [2dcd5287] Fix a problem in shared_err.test preventing it from running properly and add a test to corrupt2.test to cover another corruption detection case. (CVS 5355) (check-in: [2dcd5287] user: danielk1977 branch: trunk, size: 6030)
17:04
[056c97ae] part of check-in [38e04d67] Another test case to test a specific kind of database corruption. (CVS 5352) (check-in: [38e04d67] user: danielk1977 branch: trunk, size: 5922)
15:39
[a18ee599] part of check-in [cbb9536f] Add a test case to test corruption discovered as part of the ptrmapPut() routine. (CVS 5351) (check-in: [cbb9536f] user: danielk1977 branch: trunk, size: 4531)
2008-03-19
13:03
[8059c735] part of check-in [57805b58] When a parse of the sqlite_master table fails, include the name of the object being parsed as part of the error message. (CVS 4881) (check-in: [57805b58] user: drh branch: trunk, size: 3337)
2007-03-13
16:32
[572f8df0] part of check-in [48b2a400] Do not crash when a corrupt database contains two indices with the same name. (CVS 3684) (check-in: [48b2a400] user: danielk1977 branch: trunk, size: 3340)
2007-02-14
12:32
[bf57d744] part of check-in [50e86b03] In the corrupt2.test script, change uses of (open ... a) to (open ... RDWR) to work around inconsistencies in behavior across various platforms. (CVS 3645) (check-in: [50e86b03] user: drh branch: trunk, size: 2681)
2005-01-22
03:39
[88342570] part of check-in [764b55ad] Test script changes: Bug fix and cleanup on ioerr tests. Also, don't use TCL "file copy" command on windows. (CVS 2264) (check-in: [764b55ad] user: danielk1977 branch: trunk, size: 2678)
2005-01-11
10:25
[cb1f813d] part of check-in [8ced4915] Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190) (check-in: [8ced4915] user: danielk1977 branch: trunk, size: 2678) Added