Closed
Bug 346375
Opened 18 years ago
Closed 18 years ago
Move the code that gets the initial $dbh into Bugzilla::DB
Categories
(Bugzilla :: Installation & Upgrading, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
11.46 KB,
patch
|
Details | Diff | Splinter Review |
The code around: # Check if we have access to the --DATABASE-- Should be moved into a subroutine in a module
Assignee | ||
Comment 1•18 years ago
|
||
Actually, it makes more sense to put it into Bugzilla::DB, where the other DB-related code already is.
Status: NEW → ASSIGNED
Summary: Move the code that gets the initial $dbh into Bugzilla::Install::DB → Move the code that gets the initial $dbh into Bugzilla::DB
Assignee | ||
Comment 2•18 years ago
|
||
Okay, here's the code that does it. while I wrote the code, I also fixed it up a lot. It turns out that we were throwing our "unfriendly" DB error message when we couldn't connect to the DB, which probably accounts for a lot of support questions on the list. We now throw the more "friendly" checksetup-specific error when we fail to connect. And, of course, the code is a zillion times cleaner. :-)
Assignee | ||
Comment 3•18 years ago
|
||
I've tested all the code paths, and I'm the module owner. Requesting approval directly.
Flags: approval?
Updated•18 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 4•18 years ago
|
||
Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.522; previous revision: 1.521 done Checking in Bugzilla/Config.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config.pm,v <-- Config.pm new revision: 1.66; previous revision: 1.65 done Checking in Bugzilla/DB.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm new revision: 1.80; previous revision: 1.79 done Checking in Bugzilla/Install/Requirements.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v <-- Requirements.pm new revision: 1.11; previous revision: 1.10 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
*** Bug 344647 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•