1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Improve coverage of session module a bit more.

FossilOrigin-Name: 4255a9f609c4fd43582a0874143eabe211199726
This commit is contained in:
dan
2011-03-25 19:06:09 +00:00
parent f51e5f6c99
commit e5754eec26
8 changed files with 94 additions and 51 deletions

View File

@ -45,7 +45,7 @@ do_faultsim_test 1.1 -faults oom-* -prep {
sqlite3 db2 test.db2
} -body {
do_then_apply_sql {
INSERT INTO t1 VALUES(7, 8, 9);
INSERT INTO t1 VALUES('a string value', 8, 9);
UPDATE t1 SET c = 10 WHERE a = 1;
DELETE FROM t1 WHERE a = 4;
}
@ -63,7 +63,7 @@ do_faultsim_test 1.2 -faults oom-* -prep {
sqlite3session S db main
S attach *
execsql {
INSERT INTO t1 VALUES(7, 8, 9);
INSERT INTO t1 VALUES('a string value', 8, 9);
UPDATE t1 SET c = 10 WHERE a = 1;
DELETE FROM t1 WHERE a = 4;
}