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

Adjust two test cases so that they conform to the current code.

FossilOrigin-Name: 228e3d7c8f37c722aee3b589bdd5cfaa4b1f6f03
This commit is contained in:
drh
2015-09-18 15:35:16 +00:00
parent 59de9c0080
commit bec9d65da4
3 changed files with 13 additions and 13 deletions

View File

@ -34,10 +34,6 @@ db func a_string a_string
# of test cases tests that nothing appears to go wrong when this is
# done.
#
set ans 4056
if {[info exists G(perm:name)] && $G(perm:name)=="memsubsys1"} {
set ans 4251
}
do_test wal3-1.0 {
execsql {
PRAGMA cache_size = 2000;
@ -64,8 +60,12 @@ do_test wal3-1.0 {
COMMIT;
PRAGMA cache_size = 10;
}
wal_frame_count test.db-wal 1024
} $ans
set x [wal_frame_count test.db-wal 1024]
if {$::G(perm:name)=="memsubsys1"} {
if {$x==4251 || $x==4290} {set x 4056}
}
set x
} 4056
for {set i 1} {$i < 50} {incr i} {