/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

History of test/corrupt2.test

2019-02-11
17:22
Fix test cases. Avoid unnecessary tests for MemPage.nFree less than zero. file: [bb50042c] check-in: [480a5090] user: drh branch: deferred-free-space, size: 18134
2018-11-06
19:26
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. file: [a7f95356] check-in: [a1d6c671] user: drh branch: read-only-shadow, size: 18052
2018-07-20
13:39
Enhanced detection of problems on the freelist and on overflow list in PRAGMA integrity_check. file: [fdfdffab] check-in: [11e58f5b] user: drh branch: trunk, size: 17981
2017-07-10
12:07
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. file: [b6281cea] check-in: [f27b6370] user: drh branch: trunk, size: 17974
2016-03-15
12:37
More test-case changes so that everything works when the reserved_bytes value in the header is non-zero. file: [e4964cee] check-in: [2fd095b1] user: drh branch: trunk, size: 18006
2015-09-18
14:45
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. file: [cb787825] check-in: [26f64986] user: dan branch: trunk, size: 17923
2015-07-02
16:17
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. file: [08cec1e5] check-in: [251a7590] user: drh branch: trunk, size: 16802
2015-07-01
17:13
Rework the PRAGMA integrity_check logic. Simplify the checkTreePage() routine and clean up the error messages generated. file: [929c68b8] check-in: [1c522123] user: drh branch: integrity-check-refactor, size: 16836
2013-11-29
15:06
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. file: [f2064e0b] check-in: [15e4f63d] user: drh branch: trunk, size: 16850
2013-11-01
17:21
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. file: [b8174976] check-in: [dd5d57b9] user: drh branch: omit-rowid, size: 16989
2013-03-27
19:53
Modify various test cases so that they work if the file is extended in units of the system page-size. file: [7db8c262] check-in: [0e3d5119] user: dan branch: two-mappings, size: 16768
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: [9c0ab4be] check-in: [9007586f] user: mistachkin branch: winopen-retry-logic, size: 16776
2010-07-08
09:44
Changes to test scripts so that the "inmemory_journal" permutation works with [ef126e775a]. file: [808a28d0] check-in: [f553c8ed] user: dan branch: trunk, size: 16888
2010-06-22
13:46
Some changes to test scripts related to codec enabled versions of sqlite. file: [ada8f27d] check-in: [85dd51a7] user: dan branch: trunk, size: 16500
2010-03-27
17:12
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. file: [576122d7] check-in: [b844ac6f] user: drh branch: experimental, size: 16335
2009-04-06
17:50
Test cases and minor code changes to increase coverage of btree.c. (CVS 6456) file: [a571e30e] check-in: [def3a016] user: danielk1977 branch: trunk, size: 16257
2009-04-02
18:28
Fix a problem causing the BtShared.isPending flag to be cleared to early. Also coverage improvements for btree.c. (CVS 6440) file: [465786cf] check-in: [8f142344] user: danielk1977 branch: trunk, size: 15177
2008-09-29
11:49
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) file: [b83f6907] check-in: [40425e93] user: danielk1977 branch: trunk, size: 13571
2008-09-10
11:28
Avoid deleting a file while it is still open in corrupt2.test. Not all platforms support this. (CVS 5687) file: [08fb049f] check-in: [099adfd3] user: danielk1977 branch: trunk, size: 13673
2008-09-08
09:06
If the 'rootpage' column of the sqlite_master table contains a NULL value, return SQLITE_CORRUPT to the caller. (CVS 5681) file: [62a2773b] check-in: [a7b7b126] user: danielk1977 branch: trunk, size: 13662
2008-08-27
16:14
Clear the $result variable prior to using it in corrupt2.test. (CVS 5624) file: [d1e209b0] check-in: [12f2d24f] user: drh branch: trunk, size: 13274
2008-08-02
20:09
Test scripts revised to work when auto_vacuum defaults on. (CVS 5528) file: [a6b90515] check-in: [e63186b0] user: drh branch: trunk, size: 13249
2008-07-08
17:13
Test another corruption case in btree.c. And an IO error related scenario. (CVS 5371) file: [e56f4500] check-in: [d74fbb81] user: danielk1977 branch: trunk, size: 13150
15:59
3 more coverage tests for btree.c. (CVS 5370) file: [26810e00] check-in: [96df0a5f] user: danielk1977 branch: trunk, size: 11858
14:31
Another corruption related test case. (CVS 5367) file: [e4b03d9d] check-in: [f781a681] user: danielk1977 branch: trunk, size: 10471
12:07
Extra coverage tests for btree.c. (CVS 5365) file: [30a89c76] check-in: [08334f60] user: danielk1977 branch: trunk, size: 9429
10:19
Improve coverage of btree.c. (CVS 5363) file: [bef3b73f] check-in: [f6d9cb83] user: danielk1977 branch: trunk, size: 8871
2008-07-07
17:55
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) file: [33c15462] check-in: [2dcd5287] user: danielk1977 branch: trunk, size: 6030
17:04
Another test case to test a specific kind of database corruption. (CVS 5352) file: [056c97ae] check-in: [38e04d67] user: danielk1977 branch: trunk, size: 5922
15:39
Add a test case to test corruption discovered as part of the ptrmapPut() routine. (CVS 5351) file: [a18ee599] check-in: [cbb9536f] user: danielk1977 branch: trunk, size: 4531
2008-03-19
13:03
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) file: [8059c735] check-in: [57805b58] user: drh branch: trunk, size: 3337
2007-03-13
16:32
Do not crash when a corrupt database contains two indices with the same name. (CVS 3684) file: [572f8df0] check-in: [48b2a400] user: danielk1977 branch: trunk, size: 3340
2007-02-14
12:32
In the corrupt2.test script, change uses of (open ... a) to (open ... RDWR) to work around inconsistencies in behavior across various platforms. (CVS 3645) file: [bf57d744] check-in: [50e86b03] user: drh branch: trunk, size: 2681
2005-01-22
03:39
Test script changes: Bug fix and cleanup on ioerr tests. Also, don't use TCL "file copy" command on windows. (CVS 2264) file: [88342570] check-in: [764b55ad] user: danielk1977 branch: trunk, size: 2678
2005-01-11
10:25
Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190) file: [cb1f813d] check-in: [8ced4915] user: danielk1977 branch: trunk, size: 2678 Added