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 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