]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add test cases to verify that the file format is preserved across
authordrh <drh@noemail.net>
Tue, 27 Nov 2007 23:36:59 +0000 (23:36 +0000)
committerdrh <drh@noemail.net>
Tue, 27 Nov 2007 23:36:59 +0000 (23:36 +0000)
VACUUM.  Ticket #2804. (CVS 4572)

FossilOrigin-Name: 57400f50c600a59b56ba6eadfdc740235c194cd6

manifest
manifest.uuid
test/descidx1.test

index 568140daa5cc3b83cb1e5f8d0e3fe8014c85b5e4..e12ef3f4fb3c219ea4bee87d54929e566d1a0511 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Use\sthe\shexio\stest\sutility\srather\sthan\sTCL's\sbinary\sI/O\sto\savoid\n32/64-bit\sproblems\sin\sio.test.\s\sTicket\s#2803.\s\s(This\sis\sa\schange\nto\sthe\stest\sharness\sonly\s-\snot\sto\sSQLite.)\s(CVS\s4571)
-D 2007-11-27T23:11:45
+C Add\stest\scases\sto\sverify\sthat\sthe\sfile\sformat\sis\spreserved\sacross\nVACUUM.\s\sTicket\s#2804.\s(CVS\s4572)
+D 2007-11-27T23:36:59
 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
 F Makefile.in 35396fd58890420b29edcf27b6c0e2d054862a6b
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -248,7 +248,7 @@ F test/default.test 252298e42a680146b1dd64f563b95bdf088d94fb
 F test/delete.test 57533e88e886608bf5ae0f394e14c2eb1b1f7754
 F test/delete2.test c06be3806ba804bc8c6f134476816080280b40e3
 F test/delete3.test 555e84a00a99230b7d049d477a324a631126a6ab
-F test/descidx1.test 2177c4ad55edcf56ad5f4c6490f307d7774e8a10
+F test/descidx1.test 4537cac47b3bccf485ec44fcaa95206dd32b67d4
 F test/descidx2.test eb3a2882ec58aa6e1e8131d9bb54436e5b4a3ce2
 F test/descidx3.test 3a55b8d73bc3e9ad084e0da7fec781cf0d2a0356
 F test/diskfull.test 34ef53e88372c5b5e488ad1581514559a224c2b1
@@ -593,7 +593,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
-P 8d6e8fd381d26b9f14464f545c37363218206391
-R 06c20329a63cf714616c5a4f6d4f7b29
+P 07f7dde8a636aa05b917daa6b248c6f98654aab8
+R 3c60f3c335bef3e1e830e41efbe0e631
 U drh
-Z 1fd27d5d1474b3f357c5293f3106001a
+Z 6de36b7ac21f25e08677d9c3cdbdc203
index aa2463b31fb64e58acb015588e043ceab0042386..8988fefbdb84113dfe1e8236dff694e620d9b526 100644 (file)
@@ -1 +1 @@
-07f7dde8a636aa05b917daa6b248c6f98654aab8
\ No newline at end of file
+57400f50c600a59b56ba6eadfdc740235c194cd6
\ No newline at end of file
index 9c26b7f5df8613d9dbc37360d48493c49335a067..8aa997bbad9b3ea3511bdf9fca90e797f407eb28 100644 (file)
@@ -11,7 +11,7 @@
 # This file implements regression tests for SQLite library.  The
 # focus of this script is descending indices.
 #
-# $Id: descidx1.test,v 1.7 2006/07/11 14:17:52 drh Exp $
+# $Id: descidx1.test,v 1.8 2007/11/27 23:36:59 drh Exp $
 #
 
 set testdir [file dirname $argv0]
@@ -319,6 +319,13 @@ do_test descidx1-6.3 {
   }
   get_file_format
 } {1}
+ifcapable vacuum {
+  # Verify that the file format is preserved across a vacuum.
+  do_test descidx1-6.3.1 {
+    execsql {VACUUM}
+    get_file_format
+  } {1}
+}
 do_test descidx1-6.4 {
   db close
   file delete -force test.db test.db-journal
@@ -332,6 +339,13 @@ do_test descidx1-6.5 {
   }
   get_file_format
 } {4}
+ifcapable vacuum {
+  # Verify that the file format is preserved across a vacuum.
+  do_test descidx1-6.6 {
+    execsql {VACUUM}
+    get_file_format
+  } {4}
+}
 
 
 finish_test