1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Another fix along the same lines as (2234) (CVS 2235)

FossilOrigin-Name: 27cf83224c69e661c19f9a09f39bfdae75e3b0a4
This commit is contained in:
danielk1977
2005-01-19 03:52:54 +00:00
parent ca6707145d
commit 76b047d957
3 changed files with 10 additions and 8 deletions

View File

@ -14,7 +14,7 @@
# special feature is used to see what happens in the library if a malloc
# were to really fail due to an out-of-memory situation.
#
# $Id: malloc.test,v 1.20 2005/01/13 13:35:58 danielk1977 Exp $
# $Id: malloc.test,v 1.21 2005/01/19 03:52:55 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -354,6 +354,7 @@ if {$tcl_platform(platform)=="unix"} {
}
}
if {$tcl_platform(platform)!="windows"} {
do_malloc_test 14 -tclprep {
catch {db close}
sqlite3 db2 test2.db
@ -373,6 +374,7 @@ do_malloc_test 14 -tclprep {
SELECT * FROM t1;
}
}
}
# Ensure that no file descriptors were leaked.
do_test malloc-99.X {