SQLite

All files named ”test/corruptG.test”
Login

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

History for test/corruptG.test

2016-03-14
17:05
[adf79b669c] part of check-in [d866fffb8b] Many test cases fixed to work with encryption. (check-in: [d866fffb8b] user: drh branch: see-testing, size: 2007)
2014-03-28
03:12
[1ab3bf97ee] part of check-in [7fa85eaaaf] 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: [7fa85eaaaf] user: drh branch: trunk, size: 2020)
2014-02-28
18:39
[58ec333a01] part of check-in [3a09f5605a] Update some test cases that deal with corrupt databases. (check-in: [3a09f5605a] user: dan branch: experimental, size: 2224)
2013-11-29
15:06
[c150f156da] 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: 2222)
2013-08-20
20:25
[c67fd860e9] part of check-in [356c6c5931] Fix a couple of test scripts to work with DEFAULT_AUTOVACUUM and OMIT_VIRTUALTABLE. (check-in: [356c6c5931] user: dan branch: trunk, size: 2148)
2013-08-01
22:26
[d18ee5169e] part of check-in [6913831ad2] Fix an incorrect expected result in a test case in corruptG.test. (check-in: [6913831ad2] user: drh branch: trunk, size: 2054)
20:26
[3804cb1b1b] part of check-in [e436b2f4e5] Fix a potential buffer overread in sqlite3VdbeRecordCompare() when a serial_type specifies a field that starts in bounds but is much too large for the allocated buffer. Mostly harmless. The overread is unlikely to go more than one or two bytes past the end of the buffer. (check-in: [e436b2f4e5] user: drh branch: trunk, size: 1754)
19:17
Added: [01d94538a0] part of check-in [c3baca99f4] Make sure signed integer overflow does not cause a segfault while attempting to read a corrupt database where the header size varint on a record is larger than the maximum 32-bit signed integer. (check-in: [c3baca99f4] user: drh branch: trunk, size: 1341)