| Index: third_party/sqlite/sqlite-src-3100200/test/wal3.test
|
| diff --git a/third_party/sqlite/sqlite-src-3080704/test/wal3.test b/third_party/sqlite/sqlite-src-3100200/test/wal3.test
|
| similarity index 98%
|
| copy from third_party/sqlite/sqlite-src-3080704/test/wal3.test
|
| copy to third_party/sqlite/sqlite-src-3100200/test/wal3.test
|
| index 18e6075a4a870799821b667995b9b3f01344fb5c..9ee8a9945815ffff2ca6bac6d77892c11128deb9 100644
|
| --- a/third_party/sqlite/sqlite-src-3080704/test/wal3.test
|
| +++ b/third_party/sqlite/sqlite-src-3100200/test/wal3.test
|
| @@ -60,7 +60,11 @@ do_test wal3-1.0 {
|
| COMMIT;
|
| PRAGMA cache_size = 10;
|
| }
|
| - wal_frame_count test.db-wal 1024
|
| + 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} {
|
| @@ -271,9 +275,9 @@ proc lock_callback {method filename handle lock} {
|
| if {$lock == "1 7 lock exclusive"} { return SQLITE_BUSY }
|
| return SQLITE_OK
|
| }
|
| -puts " Warning: This next test case causes SQLite to call xSleep(1) 100 times."
|
| -puts " Normally this equates to a 100ms delay, but if SQLite is built on unix"
|
| -puts " without HAVE_USLEEP defined, it may be 100 seconds."
|
| +puts "# Warning: This next test case causes SQLite to call xSleep(1) 100 times."
|
| +puts "# Normally this equates to a 100ms delay, but if SQLite is built on unix"
|
| +puts "# without HAVE_USLEEP defined, it may be 100 seconds."
|
| do_test wal3-4.3 {
|
| db close
|
| set ::locks [list]
|
| @@ -281,7 +285,7 @@ do_test wal3-4.3 {
|
| catchsql { SELECT * FROM x }
|
| } {1 {locking protocol}}
|
|
|
| -puts " Warning: Same again!"
|
| +puts "# Warning: Same again!"
|
| proc lock_callback {method filename handle lock} {
|
| if {$lock == "0 1 lock exclusive"} { return SQLITE_BUSY }
|
| return SQLITE_OK
|
|
|