1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Close stray statements prior to finishing trace.test, to avoid a file

descriptor leak. (CVS 1965)

FossilOrigin-Name: 8bb0221da8ab49d766db7cd2f815ba2a305e15de
This commit is contained in:
drh
2004-09-17 20:46:54 +00:00
parent d900a46be0
commit 31f33e1369
3 changed files with 9 additions and 8 deletions

View File

@ -12,7 +12,7 @@
#
# This file implements tests for the "sqlite3_trace()" API.
#
# $Id: trace.test,v 1.3 2004/09/15 13:38:11 drh Exp $
# $Id: trace.test,v 1.4 2004/09/17 20:46:55 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -75,6 +75,7 @@ do_test trace-2.4 {
do_test trace-2.5 {
set TRACE_OUT
} {SELECT * FROM t1}
catch {sqlite3_finalize $STMT}
finish_test