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

Fix the wal3.test module so that it works with the memsubsys1 permutation.

FossilOrigin-Name: af85b01d93d3043f2e1a38d289ca00a5ef24520c
This commit is contained in:
drh
2015-07-25 14:12:26 +00:00
parent 8adbb17cb5
commit 06b5a224c0
3 changed files with 13 additions and 9 deletions

View File

@ -34,6 +34,10 @@ 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;
@ -61,7 +65,7 @@ do_test wal3-1.0 {
PRAGMA cache_size = 10;
}
wal_frame_count test.db-wal 1024
} 4056
} $ans
for {set i 1} {$i < 50} {incr i} {