Fixes so that the FULLSYNC changes will build on windows. They do not have

any effect, but neither do they cause errors. (CVS 2377)

FossilOrigin-Name: ace3e30de1cde2e8990d8429b730ca5b68acd714
This commit is contained in:
drh
2005-03-11 04:41:39 +00:00
parent 4835fc5c9b
commit 748f763f7a
4 changed files with 20 additions and 16 deletions
+9 -7
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is database locks.
#
# $Id: trans.test,v 1.24 2005/03/10 14:11:13 drh Exp $
# $Id: trans.test,v 1.25 2005/03/11 04:41:40 drh Exp $
set testdir [file dirname $argv0]
@@ -884,12 +884,14 @@ for {set i 2} {$i<=$limit} {incr i} {
INSERT INTO t3 SELECT randstr(10,400) FROM t3 WHERE random()%10==0;
}
} {}
do_test trans-9.$i.4-$cnt {
expr {$sqlite_sync_count>0}
} 1
do_test trans-9.$i.5-$cnt {
expr {$sqlite_fullsync_count>0}
} [expr {$i%2==0}]
if {$tcl_platform(platform)=="unix"} {
do_test trans-9.$i.4-$cnt {
expr {$sqlite_sync_count>0}
} 1
do_test trans-9.$i.5-$cnt {
expr {$sqlite_fullsync_count>0}
} [expr {$i%2==0}]
}
}
set ::pager_old_format 0
}