/ Check-in [e11cc523]
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:Fix a test case to account for the fact that sqlite3_blob_reopen() now returns SQLITE_IOERR_NOMEM instead of SQLITE_NOMEM if an OOM occurs in the VFS layer.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e11cc52389f61f6421179281877b119c02286121
User & Date: dan 2017-02-07 14:22:39
Context
2017-02-07
14:45
Fix a build problem affecting non-amalgamation rtree builds. check-in: bb7f445b user: dan tags: trunk
14:22
Fix a test case to account for the fact that sqlite3_blob_reopen() now returns SQLITE_IOERR_NOMEM instead of SQLITE_NOMEM if an OOM occurs in the VFS layer. check-in: e11cc523 user: dan tags: trunk
13:51
Fix SQLITE_BYTEORDER #defines in R-Tree when compiled separately from the amalgamation. check-in: a136609c user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/incrblobfault.test.

    48     48     sqlite3 db test.db
    49     49     set ::blob [db incrblob blob v 1]
    50     50   } -body {
    51     51     if {[catch {sqlite3_blob_reopen $::blob -1}]} {
    52     52       error [sqlite3_errmsg db]
    53     53     }
    54     54   } -test {
    55         -  faultsim_test_result {1 {no such rowid: -1}}
           55  +  faultsim_test_result {1 {no such rowid: -1}} {1 {disk I/O error}}
    56     56     close $::blob
    57     57   }
    58     58   
    59     59   do_faultsim_test 3 -prep {
    60     60     sqlite3 db test.db
    61     61   } -body {
    62     62     set ::blob [db incrblob blob v 1]