/ Check-in [dc6ecacd]
Login

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

Overview
Comment:Fix a test case in sessionfault.test. No changes to code.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sessions
Files: files | file ages | folders
SHA1: dc6ecacd7724089a0387e69a0fd5cdbfdd2023f8
User & Date: dan 2011-07-26 15:57:56
Context
2011-07-26
17:53
Fix errors in a comment in sqlite3session.c. No changes to code. check-in: d5f4c4c0 user: dan tags: sessions
15:57
Fix a test case in sessionfault.test. No changes to code. check-in: dc6ecacd user: dan tags: sessions
15:50
Fix a problem causing sqlite3changeset_invert() to effectively drop UPDATE changes. check-in: bb3e65d9 user: dan tags: sessions
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/session/sessionfault.test.

   243    243     faultsim_test_result {0 {}} {1 SQLITE_NOMEM}
   244    244     if {$testrc==0} {
   245    245       set x [list]
   246    246       sqlite3session_foreach c $::inverse { lappend x $c }
   247    247       foreach c {
   248    248           {DELETE t1 0 .X {t xxx t yyy} {}} 
   249    249           {INSERT t1 0 .X {} {t string i 1}} 
   250         -        {UPDATE t1 0 .X {i 20 {} {}} {i 4 i 2}}
          250  +        {UPDATE t1 0 .X {i 20 i 2} {i 4 {} {}}}
   251    251       } { lappend y $c }
   252    252       if {$x != $y} { error "changeset no good" }
   253    253     }
   254    254   }
   255    255   
   256    256   #-------------------------------------------------------------------------
   257    257   # Test that OOM errors in sqlite3changeset_concat() are handled correctly.