mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Update thread tests to clear the sqlite_open_file_count counter at the
end. This counter is not threadsafe and can end up with an invalid value at the end of the thread tests. (CVS 6289) FossilOrigin-Name: 8c4d71a169e529964d2d0cfba82bbad66a0bcd12
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# This file contains tests that attempt to break the pcache module
|
||||
# by bombarding it with simultaneous requests from multiple threads.
|
||||
#
|
||||
# $Id: thread003.test,v 1.5 2008/10/07 15:25:49 drh Exp $
|
||||
# $Id: thread003.test,v 1.6 2009/02/12 17:06:41 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
|
||||
@ -193,4 +193,5 @@ do_test thread003.4 {
|
||||
expr 0
|
||||
} {0}
|
||||
|
||||
set sqlite_open_file_count 0
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user