Fix a leaking database connection in the vacuum2 test script.

Ticket #2827. (CVS 4596)

FossilOrigin-Name: f29deb5f0bfcd6d00795aeb66dece717a6c1768a
This commit is contained in:
drh
2007-12-06 17:41:27 +00:00
parent 3c7f2dc4ca
commit 464fc33a82
3 changed files with 10 additions and 8 deletions
+6 -6
View File
@@ -1,5 +1,5 @@
C Use\sthe\sspecified\sbuffer\slength,\snot\sthe\smaximum\sbuffer\slength\sin\nunixFullPathname()\sand\srelated\sfunctions.\s(CVS\s4595)
D 2007-12-06T13:26:21
C Fix\sa\sleaking\sdatabase\sconnection\sin\sthe\svacuum2\stest\sscript.\nTicket\s#2827.\s(CVS\s4596)
D 2007-12-06T17:41:28
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
F Makefile.in 30789bf70614bad659351660d76b8e533f3340e9
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -496,7 +496,7 @@ F test/update.test 7669ca789d62c258b678e8aa7a22a57eac10f2cf
F test/utf16.test 20e2d9ba0d57e952a18b1ac8deab9ad49e082893
F test/utf16align.test 7360e84472095518c56746f76b1f9d4dce99fb4d
F test/vacuum.test cf839fc3ff24d601057319bbb5c700ce9c8e0fb0
F test/vacuum2.test 5367c04e0968af617b29e51283498dff053d1115
F test/vacuum2.test bbd8412d74e8da5657ac4b43d05097bd6d9d749e
F test/varint.test ab7b110089a08b9926ed7390e7e97bdefeb74102
F test/view.test 7e15fa1ba3267ddaa9ae96b6daf519f23f95b43e
F test/vtab1.test 3573ad5045c44e8e2d2b6451122bcf2ee2a4f688
@@ -597,7 +597,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 2130e7125187ca46df3f65237f933b0e568a36ed
R 46d58c2b825acbbc2f0f22d13d04f251
P f015a38771d98996366d66787b9b066f9ef5e248
R e9e837a4042d6084a729569c423b2c7a
U drh
Z 23c4660610c4748ff4d4c40cb59d832a
Z 08cf3b638db479f84c486346a51305c0
+1 -1
View File
@@ -1 +1 @@
f015a38771d98996366d66787b9b066f9ef5e248
f29deb5f0bfcd6d00795aeb66dece717a6c1768a
+3 -1
View File
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the VACUUM statement.
#
# $Id: vacuum2.test,v 1.4 2007/12/05 01:38:24 drh Exp $
# $Id: vacuum2.test,v 1.5 2007/12/06 17:41:28 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -139,4 +139,6 @@ do_test vacuum2-3.17 {
execsql {PRAGMA integrity_check} db
} {ok}
db2 close
finish_test