Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a test script bug - not all database handles were being closed by ioerr5.test. (CVS 5133) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
47652e7b169626e5f3d95f29e867a2e8 |
User & Date: | danielk1977 2008-05-15 09:07:56.000 |
Context
2008-05-15
| ||
11:08 | If a pager is already in the error-state when CommitPhaseOne() is called, exit early. (CVS 5134) (check-in: 443cf1056c user: danielk1977 tags: trunk) | |
09:07 | Fix a test script bug - not all database handles were being closed by ioerr5.test. (CVS 5133) (check-in: 47652e7b16 user: danielk1977 tags: trunk) | |
08:34 | Do not write pages to disk to free memory after an IO error occurs. (CVS 5132) (check-in: 10ea8287d0 user: danielk1977 tags: trunk) | |
Changes
Changes to test/ioerr5.test.
︙ | ︙ | |||
10 11 12 13 14 15 16 | #*********************************************************************** # # This file tests that if sqlite3_release_memory() is called to reclaim # memory from a pager that is in the error-state, SQLite does not # incorrectly write dirty pages out to the database (not safe to do # once the pager is in error state). # | | | 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #*********************************************************************** # # This file tests that if sqlite3_release_memory() is called to reclaim # memory from a pager that is in the error-state, SQLite does not # incorrectly write dirty pages out to the database (not safe to do # once the pager is in error state). # # $Id: ioerr5.test,v 1.2 2008/05/15 09:07:56 danielk1977 Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl ifcapable !memorymanage||!shared_cache { finish_test return |
︙ | ︙ | |||
139 140 141 142 143 144 145 146 147 148 149 150 151 | do_test ioerr5-$locking_mode-$iFail.3 { execsql { SELECT count(*) FROM a } } [expr $nRow+1] break } } } sqlite3_enable_shared_cache $::enable_shared_cache sqlite3_soft_heap_limit $::soft_limit finish_test | > > > > > > > > | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | do_test ioerr5-$locking_mode-$iFail.3 { execsql { SELECT count(*) FROM a } } [expr $nRow+1] break } } } # Make sure this test script doesn't leave any files open. # do_test ioerr5-2.X { catch { db close } catch { db2 close } set sqlite_open_file_count } 0 sqlite3_enable_shared_cache $::enable_shared_cache sqlite3_soft_heap_limit $::soft_limit finish_test |