------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-C Clear\sglobal\svariable\s"seconds"\sbefore\suse\sin\swalthread.test.
-D 2010-05-03T17:24:45
+C Add\sa\stest\sto\ssimulate\san\sOOM\sduring\slog\srecovery\sto\swalfault.test.
+D 2010-05-03T18:01:22
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in d83a0ffef3dcbfb08b410a6c6dd6c009ec9167fb
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
F test/mallocI.test e3ea401904d010cb7c1e4b2ee8803f4a9f5b999d
F test/mallocJ.test b5d1839da331d96223e5f458856f8ffe1366f62e
F test/mallocK.test d79968641d1b70d88f6c01bdb9a7eb4a55582cc9
-F test/malloc_common.tcl 984baeb6c6b185e798827d1187d426acc2bc4962
+F test/malloc_common.tcl 206a1694c0d30cb8b8cbdda68ab8e1f232fd1ab9
F test/manydb.test b3d3bc4c25657e7f68d157f031eb4db7b3df0d3c
F test/memdb.test 0825155b2290e900264daaaf0334b6dfe69ea498
F test/memleak.test d2d2a1ff7105d32dc3fdf691458cf6cba58c7217
F test/wal.test 0223196f4311a504b0127746613c4434054f7968
F test/walbak.test a0e45187c7d8928df035dfea29b99b016b21ca3c
F test/walcrash.test 63edc6a9e05f645b54d649186a5818fc82953e2e
-F test/walfault.test 51ffa1eb3e12d63355100888ad183f06e6ffdafb
+F test/walfault.test cdd1a27ed89bcb14596005ab2477b3724dd5f805
F test/walhook.test 5f18e0fc8787f1f8889d7a9971af18f334f83786
F test/walmode.test bac6f06544a8554588a1543def996bbe2fc41792
F test/walslow.test d21625e2e99e11c032ce949e8a94661576548933
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P 9d3f3736be42ef8ab48b099d4712e08dfca97873
-R 352c433be6f612896dc16081fdef01f7
-U drh
-Z c9af523ce17ec290d0e69ce8e0d5eb0f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFL3wbhoxKgR168RlERAmHUAJ0R3+PtPhUWqPAp0hNk6HIh36rbcgCfUYu7
-umIGiqAmPFCNkQspbbGTlrc=
-=gdS9
------END PGP SIGNATURE-----
+P a35551a5305b5160b0eb511da7f8e6fb351ef271
+R 196202511a2c780c88fa3597907d5285
+U dan
+Z 63af9feaaec4bfa813085abfe4d8e201
catch {db close}
catch {file delete -force test.db}
catch {file delete -force test.db-journal}
+ catch {file delete -force test.db-wal}
catch {file delete -force test2.db}
catch {file delete -force test2.db-journal}
+ catch {file delete -force test2.db-wal}
if {[info exists ::mallocopts(-testdb)]} {
file copy $::mallocopts(-testdb) test.db
}
PRAGMA checkpoint;
}
+do_malloc_test walfault-oom-2 -tclprep {
+ execsql {
+ PRAGMA journal_mode = WAL;
+ BEGIN;
+ CREATE TABLE x(y, z, UNIQUE(y, z));
+ INSERT INTO x VALUES(randomblob(100), randomblob(100));
+ COMMIT;
+ PRAGMA wal_checkpoint;
+
+ INSERT INTO x SELECT randomblob(100), randomblob(100) FROM x;
+ INSERT INTO x SELECT randomblob(100), randomblob(100) FROM x;
+ INSERT INTO x SELECT randomblob(100), randomblob(100) FROM x;
+ }
+ file copy -force test.db testX.db
+ file copy -force test.db-wal testX.db-wal
+ db close
+ file rename -force testX.db test.db
+ file rename -force testX.db-wal test.db-wal
+
+ sqlite3 db test.db
+ sqlite3_extended_result_codes db 1
+ sqlite3_db_config_lookaside db 0 0 0
+} -sqlbody {
+ SELECT count(*) FROM x;
+}
+
finish_test