]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add another test case to vacuum3.test. (CVS 5168)
authordanielk1977 <danielk1977@noemail.net>
Wed, 28 May 2008 16:00:43 +0000 (16:00 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Wed, 28 May 2008 16:00:43 +0000 (16:00 +0000)
FossilOrigin-Name: d895e85e2f9b595e58562d57226404f72db89a60

manifest
manifest.uuid
test/vacuum3.test

index 794641bcd1696d1ad7c8afaa504712fde74db0b8..44bc2dedcffa78976eaa0bcc036e76d6c1cbe31e 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\sa\stest\sto\svacuum3.test\sto\stry\sto\strick\ssqlite\sinto\susing\sthe\swrong\sdatabase\spage-size.\sTurns\sout\sthere\swas\sno\sproblem.\s(CVS\s5167)
-D 2008-05-28T14:08:17
+C Add\sanother\stest\scase\sto\svacuum3.test.\s(CVS\s5168)
+D 2008-05-28T16:00:44
 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
 F Makefile.in 79aeba12300a54903f1b1257c1e7c190234045dd
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -540,7 +540,7 @@ F test/utf16.test 20e2d9ba0d57e952a18b1ac8deab9ad49e082893
 F test/utf16align.test 7360e84472095518c56746f76b1f9d4dce99fb4d
 F test/vacuum.test 0bc75ee74ab9c69322d6563aa2287375697e630b
 F test/vacuum2.test d3b9691541fe6ed5c711f547a1c7d70e9760ac6f
-F test/vacuum3.test 68b26f8c9079bc2af1b29f97c9214ca825d33f18
+F test/vacuum3.test 628170084d32b238596d683830130e6f9bfc0b05
 F test/varint.test ab7b110089a08b9926ed7390e7e97bdefeb74102
 F test/veryquick.test c08b303a9a6e5bbb27d0988858e919f3b70042aa
 F test/view.test 4864e3841ab3213a95297718b94d5d6a8d3bc78b
@@ -590,7 +590,7 @@ F tool/speedtest16.c 6f5bc019dcf8b6537f379bbac0408a9e1a86f0b6
 F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c e74126bc12178fa29904f711bb100212a5448041
 F tool/speedtest8inst1.c 025879132979a5fdec11218472cba6cf8f6ec854
-P 5ceef40e397fc535173996404345b93f695e8cac
-R 9ed678d012ae5c79cbf6209933cbc12a
+P 281589a22fa481b1dfcae69fc124458d240a0ae1
+R 72b1a8e0570f1b1b4348f8913a91c9fc
 U danielk1977
-Z a91711e9dba31b150277aad566bca686
+Z 1de14a60b868de4d19e60e04fe0b2854
index 0a1d2d8c1b0e878fa00c70746938d84a6512c1f5..72bcd03b46de50749afe94eac4981634a0c9b99c 100644 (file)
@@ -1 +1 @@
-281589a22fa481b1dfcae69fc124458d240a0ae1
\ No newline at end of file
+d895e85e2f9b595e58562d57226404f72db89a60
\ No newline at end of file
index d2082fa8af3bcc70f5e72511f15c21329f5fe5ed..98db6c0c589ce06766839b82ae447c1a4f610107 100644 (file)
@@ -12,7 +12,7 @@
 # focus of this file is changing the database page size using a 
 # VACUUM statement.
 #
-# $Id: vacuum3.test,v 1.3 2008/05/28 14:08:17 danielk1977 Exp $
+# $Id: vacuum3.test,v 1.4 2008/05/28 16:00:44 danielk1977 Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -209,12 +209,10 @@ do_test vacuum3-4.1 {
   }
   execsql { SELECT * FROM abc }
 } {1 2 3 4 5 6}
-
 do_test vacuum3-4.2 {
   sqlite3 db2 test.db
   execsql { SELECT * FROM abc } db2
 } {1 2 3 4 5 6}
-
 do_test vacuum3-4.3 {
   execsql { 
     PRAGMA page_size = 2048;
@@ -222,13 +220,22 @@ do_test vacuum3-4.3 {
   }
   execsql { SELECT * FROM abc }
 } {1 2 3 4 5 6}
-
 do_test vacuum3-4.4 {
   execsql { SELECT * FROM abc } db2
 } {1 2 3 4 5 6}
-
 do_test vacuum3-4.5 {
-  db2 close
+  execsql {
+    PRAGMA page_size=16384;
+    VACUUM;
+  } db2
+  execsql { SELECT * FROM abc } db2
+} {1 2 3 4 5 6}
+do_test vacuum3-4.6 {
+  execsql {
+    PRAGMA page_size=1024;
+    VACUUM;
+  }
+  execsql { SELECT * FROM abc } db2
 } {1 2 3 4 5 6}
 
 do_ioerr_test vacuum3-ioerr-1 -cksum true -sqlprep {