SQLite

All files named ”test/corrupt.test”
Login

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

History for test/corrupt.test

2024-07-30
17:09
[54509b182b] part of check-in [e0d9670dd9] Get rid of "-encoding binary" across all test cases, as that is no longer supported in Tcl9. Use "-translation binary" instead. (check-in: [e0d9670dd9] user: drh branch: tcl9, size: 10698)
2018-11-07
14:41
[d7cb0300e4] part of check-in [911e8a17a3] More test-case adjustments for defensive mode. (check-in: [911e8a17a3] user: drh branch: read-only-shadow, size: 10715)
2013-11-29
15:06
[141c39ea65] 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: 10680)
2011-08-02
00:57
[4aabd06cff] 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: 10606)
2010-06-22
13:46
[1a5bef8b2d] 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: 10899)
2010-02-26
15:09
[0d346c9fe0] part of check-in [7bdb1e05fa] Avoid a buffer overwrite that can occur with a corrupt database if secure-delete is enabled. (check-in: [7bdb1e05fa] user: dan branch: trunk, size: 10734)
2010-02-25
19:09
[f413a96e5f] part of check-in [1cc4be7ebc] Add experimental fix for corruption detection problem. This may well be revised yet. (check-in: [1cc4be7ebc] user: dan branch: trunk, size: 10216)
2009-12-05
18:16
[85c3fececa] part of check-in [f221f31eff] Add test case for the obscure corruption detection added by the previous commit. (check-in: [f221f31eff] user: dan branch: trunk, size: 9700)
2009-09-10
18:04
[f47f220959] part of check-in [dad2b74ad0] Fix a problem in test script corrupt.test. (check-in: [dad2b74ad0] user: dan branch: trunk, size: 7855)
2009-08-14
17:01
[f89c25681f] part of check-in [43321a5560] Fix a case where SQLite may write past the end of a buffer as a result of a corrupted database file. (check-in: [43321a5560] user: dan branch: trunk, size: 7618)
2009-07-13
09:41
[04e717ebb6] part of check-in [3151dab9c7] Remove an assert ("assert( subpage>0 )") from btree.c that may not be true for a corrupt database. Also add comments and other assert() statements to btree.c function moveToRoot(). (CVS 6886) (check-in: [3151dab9c7] user: danielk1977 branch: trunk, size: 6729)
2009-07-11
17:39
[e940096bcf] part of check-in [6994b41a94] Fix a case where deleting a row from a corrupt database could cause an assert to fail. (CVS 6881) (check-in: [6994b41a94] user: danielk1977 branch: trunk, size: 6275)
2008-08-25
12:14
[5bcf7a9863] part of check-in [0d61960afd] Additional coverage testing in the new name resolver module. (CVS 5608) (check-in: [0d61960afd] user: drh branch: trunk, size: 5035)
2008-05-05
12:09
[af069d9718] part of check-in [270d47e8d0] Avoid leaking page references when database corruption is encountered. (CVS 5080) (check-in: [270d47e8d0] user: danielk1977 branch: trunk, size: 5061)
2005-02-19
08:18
[18c7a995b1] part of check-in [173aeb256e] Support for a future file format that includes 'short' records. (CVS 2351) (check-in: [173aeb256e] user: danielk1977 branch: trunk, size: 4852)
2005-02-05
12:48
[c34304baf2] part of check-in [515e5033a5] Allow expressions (including variables) in LIMIT and OFFSET clauses. Ticket #1096. (CVS 2316) (check-in: [515e5033a5] user: danielk1977 branch: trunk, size: 4855)
06:49
[34e031add5] part of check-in [6d91a1e91b] Detect database corruption in rootpage flags (see also (2313)). (CVS 2314) (check-in: [6d91a1e91b] user: danielk1977 branch: trunk, size: 4993)
2005-02-04
04:07
[4786177a8e] part of check-in [2eb9087055] Remove code for SQL cursors. (CVS 2312) (check-in: [2eb9087055] user: danielk1977 branch: trunk, size: 3358)
2005-01-20
02:17
[916977f025] part of check-in [d267fb3ca3] Fix some test scripts so that they work with a minimal build configuration. (CVS 2241) (check-in: [d267fb3ca3] user: danielk1977 branch: trunk, size: 3379)
2005-01-17
07:53
[6a0b521596] part of check-in [6244252915] Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226) (check-in: [6244252915] user: danielk1977 branch: trunk, size: 3381)
2005-01-16
23:21
[4b289dfd45] part of check-in [d0356dee55] Turn on quick-balance by default. (CVS 2221) (check-in: [d0356dee55] user: drh branch: trunk, size: 3294)
2004-08-30
16:52
Added: [0080ddcece] part of check-in [8f5b199e84] Better detection and handling of corrupt database files. (CVS 1922) (check-in: [8f5b199e84] user: drh branch: trunk, size: 2989)