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

Fix a problem with journal files being created unnecessarily when doing

an atomic write in exclusive access locking mode.  Fix a test script problem. (CVS 5075)

FossilOrigin-Name: 70e708660fec0b6f6c41efc2e29f1d7ae6785b7e
This commit is contained in:
drh
2008-05-01 18:01:46 +00:00
parent 26e4a8b11d
commit b7d636205b
5 changed files with 17 additions and 16 deletions

View File

@ -13,7 +13,7 @@
# IO traffic generated by SQLite (making sure SQLite is not writing out
# more database pages than it has to, stuff like that).
#
# $Id: io.test,v 1.15 2008/03/28 17:41:14 drh Exp $
# $Id: io.test,v 1.16 2008/05/01 18:01:47 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -346,14 +346,12 @@ do_test io-2.11.0 {
PRAGMA locking_mode;
}
} {exclusive exclusive}
breakpoint
do_test io-2.11.1 {
execsql {
INSERT INTO abc VALUES(11, 12);
}
file exists test.db-journal
} {0}
breakpoint
do_test io-2.11.2 {
execsql {