Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make sure the page size in crash6.test does not exceed the maximum configured page size. (CVS 5003) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
36b6610b25997074f398a2f2ddcdd6ac |
User & Date: | drh 2008-04-14 15:27:19.000 |
Context
2008-04-14
| ||
16:37 | Do not set the pager to persistent error state if a call to OsAccess() fails. (CVS 5004) (check-in: aa16eb5729 user: danielk1977 tags: trunk) | |
15:27 | Make sure the page size in crash6.test does not exceed the maximum configured page size. (CVS 5003) (check-in: 36b6610b25 user: drh tags: trunk) | |
15:15 | Free Mem.z buffers when a vdbe statement is reset. (CVS 5002) (check-in: 0bedbe092a user: danielk1977 tags: trunk) | |
Changes
Changes to test/crash6.test.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 2001 September 15 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file tests that rollback journals for databases that use a # page-size other than the default page-size can be rolled back Ok. # | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # 2001 September 15 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file tests that rollback journals for databases that use a # page-size other than the default page-size can be rolled back Ok. # # $Id: crash6.test,v 1.2 2008/04/14 15:27:19 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl ifcapable !crashtest { finish_test return |
︙ | ︙ | |||
66 67 68 69 70 71 72 73 74 75 76 77 78 79 | # for {set ii 0} {$ii < 30} {incr ii} { db close file delete -force test.db sqlite3 db test.db set pagesize [expr 1024 << ($ii % 4)] do_test crash6-3.$ii.0 { execsql "pragma page_size = $pagesize" execsql "pragma page_size" } $pagesize do_test crash6-3.$ii.1 { | > > > | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | # for {set ii 0} {$ii < 30} {incr ii} { db close file delete -force test.db sqlite3 db test.db set pagesize [expr 1024 << ($ii % 4)] if {$pagesize>$::SQLITE_MAX_PAGE_SIZE} { set pagesize $::SQLITE_MAX_PAGE_SIZE } do_test crash6-3.$ii.0 { execsql "pragma page_size = $pagesize" execsql "pragma page_size" } $pagesize do_test crash6-3.$ii.1 { |
︙ | ︙ |