]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
In the corrupt2.test script,
authordrh <drh@noemail.net>
Wed, 14 Feb 2007 12:32:13 +0000 (12:32 +0000)
committerdrh <drh@noemail.net>
Wed, 14 Feb 2007 12:32:13 +0000 (12:32 +0000)
change uses of (open ... a) to (open ... RDWR) to work around
inconsistencies in behavior across various platforms. (CVS 3645)

FossilOrigin-Name: 50e86b0368ae0268e7f07e44a746e13ad86a3b8b

manifest
manifest.uuid
test/corrupt2.test

index 51b36bbbc0a7110a2e9bc5b36f98dec2a7101bb1..59a640e1fc4222a5239ee78b7b8d961ce9b7d1a0 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Use\sOP_VColumn\sinstead\sof\sOP_Column\swhen\squerying\svirtual\stables\sfor\svalues\sto\ssave\sin\saggregate\scontext\srecords.\s#2230.\s(CVS\s3644)
-D 2007-02-14T09:19:36
+C In\sthe\scorrupt2.test\sscript,\nchange\suses\sof\s(open\s...\sa)\sto\s(open\s...\sRDWR)\sto\swork\saround\ninconsistencies\sin\sbehavior\sacross\svarious\splatforms.\s(CVS\s3645)
+D 2007-02-14T12:32:13
 F Makefile.in 7fa74bf4359aa899da5586e394d17735f221315f
 F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
 F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@@ -181,7 +181,7 @@ F test/collate6.test 6c9470d1606ee3e564675b229653e320c49ec638
 F test/colmeta.test 6505c73ab58796afcb7c89ba9f429d573fbc6e53
 F test/conflict.test 8a59399f61a14296a9bfed02e0570590a8a79cba
 F test/corrupt.test 18c7a995b1af76a8c8600b996257f2c7b7bff083
-F test/corrupt2.test 88342570828f2b8cbbd8369eff3891f5c0bdd5ba
+F test/corrupt2.test bf57d744ab00c5822996dc75eedb742ceadb2b0d
 F test/crash.test 5f5f155393c5685b3842fef79b6fbafa55197d75
 F test/crashtest1.c 09c1c7d728ccf4feb9e481671e29dda5669bbcc2
 F test/date.test 63cc718e1d209b10c6b7be8ce72b11addb9f1e04
@@ -432,7 +432,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
 F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
-P 9f56a878cbbc715262b3a48ee696148dbd7bf1d2
-R 3bcc628e20e838b5d5987694cda2fbe9
-U danielk1977
-Z fb0e16af78c5a0c7a2b4eab04562998c
+P cb78f7cb0f0bf0c799a929fd6ea30f25e2a7b5d0
+R 0484330afad208636dcf973b7b15d967
+U drh
+Z b7d746395662a0a377c1023b5244d08a
index 733c211b51b85a358f1402d1d57d789d10d849a2..53782238daa016fa82887efd68eda13b0d7ac12b 100644 (file)
@@ -1 +1 @@
-cb78f7cb0f0bf0c799a929fd6ea30f25e2a7b5d0
\ No newline at end of file
+50e86b0368ae0268e7f07e44a746e13ad86a3b8b
\ No newline at end of file
index 074dad7ac773f522f302aba4e59f7c795e676474..616b2bd21a5e19738407c0163efcd9224bf70ab5 100644 (file)
@@ -13,7 +13,7 @@
 # This file implements tests to make sure SQLite does not crash or
 # segfault if it sees a corrupt database file.
 #
-# $Id: corrupt2.test,v 1.2 2005/01/22 03:39:39 danielk1977 Exp $
+# $Id: corrupt2.test,v 1.3 2007/02/14 12:32:13 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -33,7 +33,7 @@ do_test corrupt2-1.2 {
   file delete -force corrupt.db
   file delete -force corrupt.db-journal
   copy_file test.db corrupt.db
-  set f [open corrupt.db a]
+  set f [open corrupt.db RDWR]
   seek $f 8 start
   puts $f blah
   close $f
@@ -51,7 +51,7 @@ do_test corrupt2-1.3 {
   file delete -force corrupt.db
   file delete -force corrupt.db-journal
   copy_file test.db corrupt.db
-  set f [open corrupt.db a]
+  set f [open corrupt.db RDWR]
   fconfigure $f -encoding binary
   seek $f 16 start
   puts -nonewline $f "\x00\xFF"
@@ -70,7 +70,7 @@ do_test corrupt2-1.4 {
   file delete -force corrupt.db
   file delete -force corrupt.db-journal
   copy_file test.db corrupt.db
-  set f [open corrupt.db a]
+  set f [open corrupt.db RDWR]
   fconfigure $f -encoding binary
   seek $f 101 start
   puts -nonewline $f "\xFF\xFF"
@@ -89,7 +89,7 @@ do_test corrupt2-1.5 {
   file delete -force corrupt.db
   file delete -force corrupt.db-journal
   copy_file test.db corrupt.db
-  set f [open corrupt.db a]
+  set f [open corrupt.db RDWR]
   fconfigure $f -encoding binary
   seek $f 101 start
   puts -nonewline $f "\x00\xC8"
@@ -106,4 +106,3 @@ do_test corrupt2-1.5 {
 db2 close
 
 finish_test
-