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

Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995)

FossilOrigin-Name: 6ec8e6b7856a0b394b8497ab9166b882f98124ba
This commit is contained in:
danielk1977
2006-01-23 13:09:45 +00:00
parent d116739351
commit 75bab7d64e
6 changed files with 58 additions and 42 deletions

View File

@ -13,7 +13,7 @@
# cache context. What happens to connection B if one connection A encounters
# an IO-error whilst reading or writing the file-system?
#
# $Id: shared_err.test,v 1.4 2006/01/23 05:50:58 danielk1977 Exp $
# $Id: shared_err.test,v 1.5 2006/01/23 13:09:47 danielk1977 Exp $
proc skip {args} {}
@ -250,7 +250,10 @@ do_ioerr_test shared_ioerr-3 -tclprep {
} -tclbody {
execsql {
BEGIN;
INSERT INTO t1 VALUES('201.201.201.201.201', NULL);
UPDATE t1 SET a = '202.202.202.202.202' WHERE a LIKE '201%';
COMMIT;
}
} -cleanup {
do_test shared_ioerr-3.$n.cleanup.1 {