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

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

History for test/corruptI.test

2018-11-07
02:17
[a17bbf54] part of check-in [3212733c] Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases so that they work with DEFENSIVE enabled. (check-in: [3212733c] user: drh branch: read-only-shadow, size: 7154)
2016-03-14
17:05
[075fe1d7] part of check-in [d866fffb] Many test cases fixed to work with encryption. (check-in: [d866fffb] user: drh branch: see-testing, size: 7121)
2016-02-05
16:46
[347babbf] part of check-in [a6b35273] From test scripts, remove stray "breakpoint" commands and blank lines at the ends of files. (check-in: [a6b35273] user: drh branch: trunk, size: 7133)
2015-06-19
20:08
[f2b10e4f] part of check-in [3189116b] Fix corner cases involving corrupt varint values in record headers. (check-in: [3189116b] user: drh branch: btree-opt, size: 7146)
2015-05-26
14:57
[ddf8c714] part of check-in [22a14663] Update test cases in corruptI.test so that they work with both SQLITE_ENABLE_OVERSIZE_CELL_CHECK and SQLITE_DEFAULT_AUTOVACUUM builds. (check-in: [22a14663] user: dan branch: trunk, size: 7146)
12:18
[61e2a589] part of check-in [68876003] Return SQLITE_CORRUPT to the user if an attempt is made to add database page 1 to the free page list. (check-in: [68876003] user: dan branch: trunk, size: 6962)
2015-05-25
19:24
[79fd060a] part of check-in [aa18c8e9] Have the b-tree layer return SQLITE_CORRUPT to any attempt to open a cursor with a root page number less than 1. (check-in: [aa18c8e9] user: dan branch: trunk, size: 6315)
18:47
[bcb2aa4e] part of check-in [8fa0937a] Fix a couple of btree asserts that would fail when encountering 32-bit rollover in cell payload size fields (cell payloads this large always indicate corruption). (check-in: [8fa0937a] user: dan branch: trunk, size: 5627)
17:07
[bd6986db] part of check-in [97806a78] Fix a case where database corruption may cause SQLite to write past the end of a buffer. (check-in: [97806a78] user: dan branch: trunk, size: 5028)
15:03
[08048e8f] part of check-in [00a473c5] Fix an assert() in btree routine freeSpace() that may be false if the database is corrupt. (check-in: [00a473c5] user: dan branch: trunk, size: 3566)
2014-10-07
20:09
[221ad8b7] part of check-in [e405b9e4] Fix the corruptI.test script so that it works with SQLITE_ENABLE_OVERSIZE_CELL_CHECK and with SQLITE_DEFAULT_AUTOVACUUM=1. (check-in: [e405b9e4] user: drh branch: trunk, size: 2893)
2014-08-14
19:53
[0afbba50] part of check-in [3f45b819] Fix an assert that can fail if the database file is corrupted. (check-in: [3f45b819] user: dan branch: trunk, size: 2587)
2014-03-28
03:12
[b3e4203d] part of check-in [7fa85eaa] Enhance the sqlite3VdbeRecordCompare() routines so that if they encounter database corruption, they will set the UnpackedRecord.isCorrupt field and return 0. The sqlite3BtreeMovetoUnpacked() routine detects this and returns SQLITE_CORRUPT, causing the corruption to be reported back to the top-level. (check-in: [7fa85eaa] user: drh branch: trunk, size: 2009)
2014-03-26
15:14
[1b796461] part of check-in [f585f5d7] Add an extra test case for the potential buffer overread patched by [28ddecff04]. (check-in: [f585f5d7] user: dan branch: trunk, size: 1977)
15:05
[487e9e5e] part of check-in [2b28e8d5] Add a test case to verify that the previous change avoids excess buffer overread in sqlite3VdbeRecordCompare(). (check-in: [2b28e8d5] user: drh branch: trunk, size: 1386)
14:51
[645794bf] part of check-in [28ddecff] Earlier detection of corruption in sqlite3VdbeRecordCompare() in order to avoid a potential buffer overread. (check-in: [28ddecff] user: drh branch: trunk, size: 1126)
2014-03-05
11:22
[88886ec9] part of check-in [378b290d] Do not run corruptI.test with the mmap permutation. (check-in: [378b290d] user: dan branch: trunk, size: 1174)
2014-03-03
20:48
Added: [d9eca60c] part of check-in [7c0b4381] Avoid a buffer overread in vdbeCompareRecordInt() that might occur if the database is corrupt. (check-in: [7c0b4381] user: dan branch: experimental, size: 1119)