1
0
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:
drh
2009-02-12 17:06:41 +00:00
parent f2a79f2248
commit a32e0d05ff
5 changed files with 16 additions and 13 deletions

View File

@ -12,7 +12,7 @@
# This test attempts to deadlock SQLite in shared-cache mode.
#
#
# $Id: thread002.test,v 1.5 2009/02/04 11:57:46 danielk1977 Exp $
# $Id: thread002.test,v 1.6 2009/02/12 17:06:41 drh Exp $
set testdir [file dirname $argv0]
@ -107,4 +107,5 @@ for {set ii 0} {$ii < 3} {incr ii} {
}
sqlite3_enable_shared_cache $::enable_shared_cache
set sqlite_open_file_count 0
finish_test