From c892f23c5814aa6a76c589b637aded64ecb4f663 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sat, 5 Aug 2006 04:19:56 +0000 Subject: [PATCH] Bug 344647: checksetup.pl can create two database connections instead of one Patch By Max Kanat-Alexander r=LpSolit, r=bkor, a=myk --- checksetup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.47.2