Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix the new ioerr4.test so that it plays well with others. (CVS 5103) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
75df2d3d506abfa4aa4875fb533a5cd1 |
User & Date: | drh 2008-05-08 01:11:42.000 |
Context
2008-05-08
| ||
13:54 | Increment the version number. (CVS 5104) (check-in: ed06d90d8c user: drh tags: trunk) | |
01:11 | Fix the new ioerr4.test so that it plays well with others. (CVS 5103) (check-in: 75df2d3d50 user: drh tags: trunk) | |
2008-05-07
| ||
19:11 | Fix some problems with multi-file transactions in persistent journal mode. (CVS 5102) (check-in: e98a7f87f9 user: danielk1977 tags: trunk) | |
Changes
Changes to test/ioerr4.test.
︙ | ︙ | |||
8 9 10 11 12 13 14 | # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing for correct handling of I/O errors # during incremental vacuum with a shared cache. # | | | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing for correct handling of I/O errors # during incremental vacuum with a shared cache. # # $Id: ioerr4.test,v 1.2 2008/05/08 01:11:42 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # This test requires both shared cache and incremental vacuum. # ifcapable {!shared_cache || !autovacuum} { finish_test return } # Enable shared cache mode and incremental vacuum. # do_test ioerr4-1.1 { db close set ::enable_shared_cache [sqlite3_enable_shared_cache 1] } {0} do_test ioerr4-1.2 { file delete -force test.db test.db-journal sqlite3 db test.db sqlite3 db2 test.db db eval { PRAGMA auto_vacuum=INCREMENTAL; |
︙ | ︙ | |||
89 90 91 92 93 94 95 96 | set ::DB [sqlite3 db test.db; sqlite3_connection_pointer db] db eval {PRAGMA auto_vacuum=INCREMENTAL} sqlite3 db2 test.db } -tclbody { db eval {PRAGMA incremental_vacuum(5)} } finish_test | > > > > | 89 90 91 92 93 94 95 96 97 98 99 100 | set ::DB [sqlite3 db test.db; sqlite3_connection_pointer db] db eval {PRAGMA auto_vacuum=INCREMENTAL} sqlite3 db2 test.db } -tclbody { db eval {PRAGMA incremental_vacuum(5)} } db2 close file delete -force test.db-bu sqlite3_enable_shared_cache $::enable_shared_cache finish_test |