Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add check for ifcapable autovacuum to vacuum2-3.3 test. Ticket #3435. (CVS 5873) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fc36f2fc45b2d319ef0be97e1af1748d |
User & Date: | shane 2008-11-10 18:20:16.000 |
Context
2008-11-10
| ||
19:24 | Updated comment in source. Ticket #3453. (CVS 5874) (check-in: 83caa22087 user: shane tags: trunk) | |
18:20 | Add check for ifcapable autovacuum to vacuum2-3.3 test. Ticket #3435. (CVS 5873) (check-in: fc36f2fc45 user: shane tags: trunk) | |
18:05 | Removed a few more small parts of memsys6 code, including some config and test code for it; (CVS 5872) (check-in: a11241d6fb user: shane tags: trunk) | |
Changes
Changes to test/vacuum2.test.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 2005 February 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 implements regression tests for SQLite library. The # focus of this file is testing the VACUUM statement. # | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # 2005 February 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 implements regression tests for SQLite library. The # focus of this file is testing the VACUUM statement. # # $Id: vacuum2.test,v 1.9 2008/11/10 18:20:16 shane Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # If the VACUUM statement is disabled in the current build, skip all # the tests in this file. # |
︙ | ︙ | |||
78 79 80 81 82 83 84 | } {3} set cksum [cksum] do_test vacuum2-3.2 { cksum db2 } $cksum # Convert the database to an autovacuumed database. | > | | | | | | | > | 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | } {3} set cksum [cksum] do_test vacuum2-3.2 { cksum db2 } $cksum # Convert the database to an autovacuumed database. ifcapable autovacuum { do_test vacuum2-3.3 { execsql { PRAGMA auto_vacuum=FULL; VACUUM; } expr {[file size test.db]/$pageSize} } {4} } do_test vacuum2-3.4 { cksum db2 } $cksum do_test vacuum2-3.5 { cksum } $cksum do_test vacuum2-3.6 { |
︙ | ︙ |