SQLite

All files named ”test/corruptC.test”
Login

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

History for test/corruptC.test

2024-03-04
16:44
[7d6d9e9073] part of check-in [0d19eeaafb] Change test results in corruptC.test to account for the added detail in the output of "PRAGMA integrity_check" from [b736519d3d2e93c7]. (check-in: [0d19eeaafb] user: drh branch: trunk, size: 12268)
2023-04-01
13:14
[9cf32275da] part of check-in [a1cb152e69] Improved error messages from PRAGMA integrity_check. Identify the root of the tree when a problem is found in a b-tree, making it easier to track the problem to a specific table or index. (check-in: [a1cb152e69] user: drh branch: trunk, size: 12233)
2019-10-29
16:18
[74d4498fd2] part of check-in [4d424f3047] Remove the legacy_file_format PRAGMA. In its place, provide the SQLITE_DBCONFIG_LEGACY_FILE_FORMAT option to sqlite3_db_config(). Fix for ticket [6484e6ce678fffab] (check-in: [4d424f3047] user: drh branch: trunk, size: 12227)
2019-04-12
12:10
[776f43eb7d] part of check-in [56b664185e] Fix minor problems in tcl test scripts. (check-in: [56b664185e] user: dan branch: trunk, size: 12216)
2017-09-13
20:20
[138ecb0218] part of check-in [43c6023bbf] Test case update due to PRAGMA integrity_check enhancements in [8525c30c]. No changes to code. (check-in: [43c6023bbf] user: drh branch: trunk, size: 12192)
2017-02-07
16:15
[46ec43bd90] part of check-in [722e57fe61] Update an error message in corruptC.test. (check-in: [722e57fe61] user: dan branch: trunk, size: 12157)
2016-12-27
12:45
[4ef10844eb] part of check-in [4cb0945f13] Adjust a corruption test case to accommodate the sqlite3BtreeInsert() optimization of check-in [0b86fbca66]. (check-in: [4cb0945f13] user: drh branch: trunk, size: 12155)
2015-09-18
14:22
[0c46574f8d] part of check-in [c88b62c28c] Remove a test made obsolete by the ONEPASS DELETE optimization. (check-in: [c88b62c28c] user: drh branch: trunk, size: 11784)
2015-04-16
12:12
[3fcc0f73d2] part of check-in [7c0deed257] Fix the corruptC.test module due to a change in error message text. (check-in: [7c0deed257] user: drh branch: trunk, size: 11682)
12:09
[8627f8b9e8] part of check-in [4b0f44848d] Checked in the wrong fix. (check-in: [4b0f44848d] user: drh branch: mistake, size: 11671)
2013-11-29
15:06
[02405cf7ed] part of check-in [15e4f63d1f] 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: [15e4f63d1f] user: drh branch: trunk, size: 11707)
2013-11-28
14:14
[b497c18582] part of check-in [0bcf75516f] Remove an assert() condition that may not be true if the database file is corrupt. Update a test case in corruptC.test. (check-in: [0bcf75516f] user: dan branch: trunk, size: 11633)
2013-03-29
19:38
[b2d0e01638] part of check-in [23ffa4f9fb] Further fixes for test scripts. (check-in: [23ffa4f9fb] user: dan branch: two-mappings, size: 11495)
2011-08-02
00:57
[62a767fe64] part of check-in [9007586fda] 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: [9007586fda] user: mistachkin branch: winopen-retry-logic, size: 11455)
2010-06-22
13:46
[483aa35dad] part of check-in [85dd51a75c] Some changes to test scripts related to codec enabled versions of sqlite. (check-in: [85dd51a75c] user: dan branch: trunk, size: 11550)
2010-06-10
06:53
[c19fcc3693] part of check-in [0ce42e7665] Store the MemPage structure in memory following, instead of preceding, the page data for cached pages. This reduces the likelihood of a corrupt database page image causing SQLite to read past the end of a buffer. (check-in: [0ce42e7665] user: dan branch: trunk, size: 11385)
2010-06-07
17:47
[e753c037cd] part of check-in [7c33eb5a5a] Change all.test, quick.test and permutations.test so that they use a separate interpreter for each test file. (check-in: [7c33eb5a5a] user: dan branch: trunk, size: 11025)
2009-07-11
06:55
[691ed070ba] part of check-in [709576c670] Modify the integrity-check code so that each b-tree page inspected is reinitialized while doing so, even if an initialized copy exists in the cache. This prevents an assert from failing when running integrity_check on a corrupt database. (CVS 6877) (check-in: [709576c670] user: danielk1977 branch: trunk, size: 11022)
2009-06-06
19:21
[4ee86485de] part of check-in [ba9848e7b8] Update the error message on one of the corruption tests to account for the fact that we are finding the corruption sooner. (CVS 6726) (check-in: [ba9848e7b8] user: drh branch: trunk, size: 10926)
2009-06-04
02:46
[9b70fa2bfd] part of check-in [bc6c2d894b] Minor tweak to test script to ensure every byte in file touched at least once. (CVS 6713) (check-in: [bc6c2d894b] user: shane branch: trunk, size: 10962)
2009-04-11
16:06
[47d544f612] part of check-in [2c560e057e] Fix a case where a corrupt database could cause an assert() to fail. (CVS 6496) (check-in: [2c560e057e] user: danielk1977 branch: trunk, size: 10691)
2008-11-19
18:43
[c798aa395a] part of check-in [deadc2548d] Force the corruptC.test script to use file format 1. (CVS 5930) (check-in: [deadc2548d] user: drh branch: trunk, size: 10286)
2008-11-13
18:29
[b8030bbeb9] part of check-in [9b7a52e952] Fixed several more crashes due to corrupt db files. Added corruptC.test to soak.test. (CVS 5905) (check-in: [9b7a52e952] user: shane branch: trunk, size: 10254)
2008-11-12
18:21
[bcedf37afa] part of check-in [faa6bd7b61] Avoid some buffer overreads detected by valgrind while running corruptC.test. (CVS 5898) (check-in: [faa6bd7b61] user: danielk1977 branch: trunk, size: 7090)
14:22
[d73d70aa29] part of check-in [b6563af8f9] In corruptC.test, explicitly set "PRAGMA auto_vacuum = 0". (CVS 5895) (check-in: [b6563af8f9] user: danielk1977 branch: trunk, size: 7088)
11:57
[2211c09c59] part of check-in [0953f300f8] Modify a failing test case in corruptC.test. The test case was failing only because the integrity_check was returning a slightly different error message than expected. (CVS 5891) (check-in: [0953f300f8] user: danielk1977 branch: trunk, size: 7060)
04:55
[98785fda64] part of check-in [f8bb34e409] Fixed a few more crashes when dealing with corrupt db files. (CVS 5888) (check-in: [f8bb34e409] user: shane branch: trunk, size: 7150)
2008-11-11
22:18
[b872e806a6] part of check-in [ec18667e2d] Fixed crash during an UPDATE when free cell size is corrupt. (CVS 5887) (check-in: [ec18667e2d] user: shane branch: trunk, size: 5831)
20:51
[8b4d848df9] part of check-in [99d4172ed6] Prevent a crash during an UPDATE when the cell offset is corrupt. (CVS 5886) (check-in: [99d4172ed6] user: shane branch: trunk, size: 5388)
17:36
[02a12dee8b] part of check-in [0659a666ff] Fixed crash in integrity_check with corrupt content offset size in page header. (CVS 5881) (check-in: [0659a666ff] user: shane branch: trunk, size: 4432)
2008-10-31
13:57
Added: [c918825035] part of check-in [c73d915923] Test that single byte corruptions in increasingly larger quantities are handled gracefully. (CVS 5854) (check-in: [c73d915923] user: shane branch: trunk, size: 3957)