Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Disable auto_vacuum during the vacuum3 test. (CVS 5000) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e2e1ca818c5f77abdb423aebe34eea80 |
User & Date: | drh 2008-04-14 13:42:40.000 |
Context
2008-04-14
| ||
14:34 | Cleanup some #ifdefs to make their meaning clearly. No logical changes. (CVS 5001) (check-in: b8bc5f3a83 user: drh tags: trunk) | |
13:42 | Disable auto_vacuum during the vacuum3 test. (CVS 5000) (check-in: e2e1ca818c user: drh tags: trunk) | |
01:00 | Get the SQLITE_SECURE_DELETE compile-time option working again. Ticket #3050. (CVS 4999) (check-in: 40ba51fd4c user: drh tags: trunk) | |
Changes
Changes to test/vacuum3.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 changing the database page size using a # VACUUM statement. # | | > | 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 39 40 41 42 | # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is changing the database page size using a # VACUUM statement. # # $Id: vacuum3.test,v 1.2 2008/04/14 13:42:40 drh 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. # ifcapable !vacuum { finish_test return } #------------------------------------------------------------------- # Test cases vacuum3-1.* convert a simple 2-page database between a # few different page sizes. # do_test vacuum3-1.1 { execsql { PRAGMA auto_vacuum=OFF; PRAGMA page_size = 1024; CREATE TABLE t1(a, b, c); INSERT INTO t1 VALUES(1, 2, 3); } } {} do_test vacuum3-1.2 { execsql { PRAGMA page_size } |
︙ | ︙ | |||
261 262 263 264 265 266 267 | } -sqlbody { PRAGMA page_size = 512; VACUUM; } } finish_test | < | 262 263 264 265 266 267 268 | } -sqlbody { PRAGMA page_size = 512; VACUUM; } } finish_test |