/ Check-in [c88b62c2]
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.

Overview
Comment:Remove a test made obsolete by the ONEPASS DELETE optimization.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c88b62c28cc7ac31b93f7df0c732e0bb6ca24f65
User & Date: drh 2015-09-18 14:22:34
Context
2015-09-18
14:42
Fix the orderby9.test case so that it works with 32-bit versions of TCL check-in: 4b6af774 user: drh tags: trunk
14:22
Remove a test made obsolete by the ONEPASS DELETE optimization. check-in: c88b62c2 user: drh tags: trunk
2015-09-17
17:21
Avoid passing (signed char) values directly to isspace(), isalnum() or isdigit() in json1.c. Cast the value to (unsigned char) first. check-in: 6713e35b user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/corruptC.test.

   184    184   
   185    185     # insert corrupt byte(s)
   186    186     hexio_write test.db 3074 [format %02x 0xa0]
   187    187   
   188    188     sqlite3 db test.db
   189    189     catchsql {BEGIN; UPDATE t2 SET y='abcdef-uvwxyz'; ROLLBACK;}
   190    190   } {1 {database disk image is malformed}}
          191  +
   191    192   
   192    193   # corruption (seed 179069)
          194  +# Obsolete.  With single-pass DELETE the corruption in the
          195  +# main database is not detected.
          196  +if 0 {
   193    197   do_test corruptC-2.8 {
   194    198     db close
   195    199     forcecopy test.bu test.db
   196    200   
   197    201     # insert corrupt byte(s)
   198    202     hexio_write test.db 1393 [format %02x 0x7d]
   199    203     hexio_write test.db 84 [format %02x 0x19]
................................................................................
   200    204     hexio_write test.db 3287 [format %02x 0x3b]
   201    205     hexio_write test.db 2564 [format %02x 0xed]
   202    206     hexio_write test.db 2139 [format %02x 0x55]
   203    207   
   204    208     sqlite3 db test.db
   205    209     catchsql {BEGIN; DELETE FROM t1 WHERE x>13; ROLLBACK;}
   206    210   } {1 {database disk image is malformed}}
          211  +}
   207    212   
   208    213   # corruption (seed 170434)
   209    214   #
   210    215   # UPDATE: Prior to 3.8.2, this used to return SQLITE_CORRUPT. It no longer
   211    216   # does. That is Ok, the point of these tests is to verify that no buffer
   212    217   # overruns or overreads can be caused by corrupt databases.
   213    218   do_test corruptC-2.9 {