mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Change mallocI.test to close a database connection that was being left open. (CVS 6966)
FossilOrigin-Name: 4f0096d7ef43f4b9f32c4d78b3dfe34271f2120a
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
#
|
||||
# This test script checks malloc failures in various obscure operations.
|
||||
#
|
||||
# $Id: mallocI.test,v 1.2 2009/07/29 06:04:57 danielk1977 Exp $
|
||||
# $Id: mallocI.test,v 1.3 2009/08/10 04:26:39 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -58,5 +58,6 @@ do_malloc_test mallocI-4 -tclprep {
|
||||
catchsql { INSERT INTO t1 VALUES(1, 2, 3) } db2
|
||||
} {0 {}}
|
||||
}
|
||||
catch { db2 close }
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user