/ Check-in [d6746cab]
Login

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

Overview
Comment:Close some stray connections in walro.test.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d6746cabaa22429644c956a4b5fd91896376de2d
User & Date: dan 2014-02-24 19:49:36
Context
2014-02-24
21:20
Enhance testing support for the Win32 VFS dynamic extension loading facilities. check-in: 53081e72 user: mistachkin tags: trunk
19:49
Close some stray connections in walro.test. check-in: d6746cab user: dan tags: trunk
19:07
In memsys5, initialize new allocations to non-zero bytes. Change the content of freed allocations to prevent use after free. These changes in SQLITE_DEBUG only. check-in: ba5f0a55 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/walro.test.

    28     28   #
    29     29   ifcapable !wal {
    30     30     finish_test
    31     31     return
    32     32   }
    33     33   
    34     34   do_multiclient_test tn {
    35         -  # Do not run tests with the connections in the same process.
    36         -  #
    37         -  if {$tn==2} continue
    38     35     
    39     36     # Close all connections and delete the database.
    40     37     #
    41     38     code1 { db close  }
    42     39     code2 { db2 close }
    43     40     code3 { db3 close }
    44     41     forcedelete test.db
    45     42     forcedelete walro
           43  +  
           44  +  # Do not run tests with the connections in the same process.
           45  +  #
           46  +  if {$tn==2} continue
    46     47   
    47     48     foreach c {code1 code2 code3} {
    48     49       $c {
    49     50         sqlite3_shutdown
    50     51         sqlite3_config_uri 1
    51     52       }
    52     53     }
................................................................................
   228    229   forcedelete test.db
   229    230   
   230    231   #-----------------------------------------------------------------------
   231    232   # Test cases 2.* check that a read-only connection may read the
   232    233   # database file while a checkpoint operation is ongoing.
   233    234   #
   234    235   do_multiclient_test tn {
   235         -  # Do not run tests with the connections in the same process.
   236         -  #
   237         -  if {$tn==2} continue
   238    236     
   239    237     # Close all connections and delete the database.
   240    238     #
   241    239     code1 { db close  }
   242    240     code2 { db2 close }
   243    241     code3 { db3 close }
   244    242     forcedelete test.db
   245    243     forcedelete walro
          244  +  
          245  +  # Do not run tests with the connections in the same process.
          246  +  #
          247  +  if {$tn==2} continue
   246    248   
   247    249     foreach c {code1 code2 code3} {
   248    250       $c {
   249    251         sqlite3_shutdown
   250    252         sqlite3_config_uri 1
   251    253       }
   252    254     }