mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add mutexes to fix a race condition in wal.c. This isn't a very good fix.
FossilOrigin-Name: 3d159939cc2beb18c4ca0c8e9a99a75d4107e6e4
This commit is contained in:
@ -787,8 +787,9 @@ do_test wal-13.5 {
|
||||
execsql { SELECT count(*) FROM t2 }
|
||||
} [expr int(pow(2, 15))]
|
||||
do_test wal-13.6 {
|
||||
file size test.db-wal-summary
|
||||
} [expr 192*1024]
|
||||
set sz [file size test.db-wal-summary]
|
||||
expr {$sz<=(3*64*1024) && $sz>(2*64*1024)}
|
||||
} {1}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user