From: mkanat%bugzilla.org <> Date: Sat, 5 Aug 2006 04:19:56 +0000 (+0000) Subject: Bug 344647: checksetup.pl can create two database connections instead of one X-Git-Tag: bugzilla-2.20.3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c892f23c5814aa6a76c589b637aded64ecb4f663;p=thirdparty%2Fbugzilla.git Bug 344647: checksetup.pl can create two database connections instead of one Patch By Max Kanat-Alexander r=LpSolit, r=bkor, a=myk --- diff --git a/checksetup.pl b/checksetup.pl index c4d5252a82..3a09b73993 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1532,7 +1532,7 @@ EOF } # now get a handle to the database: -my $dbh = Bugzilla::DB::connect_main(); +my $dbh = Bugzilla->dbh; END { $dbh->disconnect if $dbh }