mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Always truncate the pager cache when truncating the database file. Also reorganize the code to check the change-counter after first obtaining a shared lock. (CVS 3814)
FossilOrigin-Name: 9dc4100eff71be579480ce7939c7da712d28f0ae
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# focus of this file is testing for correct handling of disk full
|
||||
# errors.
|
||||
#
|
||||
# $Id: diskfull.test,v 1.5 2007/03/31 10:00:48 danielk1977 Exp $
|
||||
# $Id: diskfull.test,v 1.6 2007/04/05 17:15:53 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -56,7 +56,7 @@ integrity_check diskfull-1.6
|
||||
proc do_diskfull_test {prefix sql} {
|
||||
set ::go 1
|
||||
set ::sql $sql
|
||||
set ::i 52
|
||||
set ::i 1
|
||||
while {$::go} {
|
||||
incr ::i
|
||||
do_test ${prefix}.$::i.1 {
|
||||
|
Reference in New Issue
Block a user