aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2009-01-07 17:06:52 +0000
committerdanielk1977 <danielk1977@noemail.net>2009-01-07 17:06:52 +0000
commitbe871047064420188a2c174349d7bc706f2c3e73 (patch)
tree83d8838e643b1451832d1dedfae54ded9ea129dc
parenta7c17af64d24483a878148e00e7d0d3099873bb0 (diff)
downloadsqlite-be871047064420188a2c174349d7bc706f2c3e73.tar.gz
sqlite-be871047064420188a2c174349d7bc706f2c3e73.zip
Add a "synchronous = off" variant to savepoint6.test. (CVS 6135)
FossilOrigin-Name: 0f57011e3b21fa5f6a819ce5a7fd8d44ea70679f
-rw-r--r--manifest12
-rw-r--r--manifest.uuid2
-rw-r--r--test/savepoint6.test11
3 files changed, 16 insertions, 9 deletions
diff --git a/manifest b/manifest
index cebb814dc..3fb5d05d6 100644
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Change\sSQLITE_MAX_FUNCTION_ARG\sfrom\s100\sto\s127\sto\smatch\sinvariant\sH16124.\sTicket\s#3567.\s(CVS\s6134)
-D 2009-01-07T16:15:43
+C Add\sa\s"synchronous\s=\soff"\svariant\sto\ssavepoint6.test.\s(CVS\s6135)
+D 2009-01-07T17:06:53
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in 05461a9b5803d5ad10c79f989801e9fd2cc3e592
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -499,7 +499,7 @@ F test/savepoint2.test 18f6c75d5c133b93838019df8988b8cdf379d3de
F test/savepoint3.test 0c6c6cf208a2865301d125bf962b8f8a12f58b70
F test/savepoint4.test fd8850063e3c40565545f5c291e7f79a30591670
F test/savepoint5.test 0735db177e0ebbaedc39812c8d065075d563c4fd
-F test/savepoint6.test 7d584a665cb6e4f0c24d7a8ae7f8985461c683b1
+F test/savepoint6.test e28f7d8ab8a389d4e5bd1dc08bf2c3312754cc67
F test/schema.test a8b000723375fd42c68d310091bdbd744fde647c
F test/schema2.test 35e1c9696443d6694c8980c411497c2b5190d32e
F test/select1.test d0a4cad954fd41c030ec16ffbd2d08a4c0548742
@@ -693,7 +693,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
-P 0e01cdc8d283acd2757d69bf6d8e36bb1f47d460
-R 54e4211df9052ebc8d3d995a8388d134
+P 1fe79ffd772900bdca85ec6cf072677be53cd5ff
+R 87c27604ca2a8f994ba149dc1bd570fa
U danielk1977
-Z 4eac09db0f2e8b929530a4bedbe56e37
+Z d97d5e645b9d94f84adc7e2da92df732
diff --git a/manifest.uuid b/manifest.uuid
index 617345851..e4a84c58c 100644
--- a/manifest.uuid
+++ b/manifest.uuid
@@ -1 +1 @@
-1fe79ffd772900bdca85ec6cf072677be53cd5ff \ No newline at end of file
+0f57011e3b21fa5f6a819ce5a7fd8d44ea70679f \ No newline at end of file
diff --git a/test/savepoint6.test b/test/savepoint6.test
index 474d1051f..224c72a8d 100644
--- a/test/savepoint6.test
+++ b/test/savepoint6.test
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
-# $Id: savepoint6.test,v 1.2 2009/01/06 13:40:08 danielk1977 Exp $
+# $Id: savepoint6.test,v 1.3 2009/01/07 17:06:53 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -225,6 +225,13 @@ foreach zSetup [list {
set testname tempdb
sqlite3 db ""
} {
+ if {[catch {set ::permutations_test_prefix} z] == 0 && $z eq "journaltest"} {
+ continue
+ }
+ set testname nosync
+ sqlite3 db test.db
+ sql { PRAGMA synchronous = off }
+} {
set testname smallcache
sqlite3 db test.db
sql { PRAGMA cache_size = 10 }
@@ -233,7 +240,7 @@ foreach zSetup [list {
unset -nocomplain ::lSavepoint
unset -nocomplain ::aEntry
- db close
+ catch { db close }
file delete -force test.db
eval $zSetup
sql $DATABASE_SCHEMA