Closed Bug 264003 Opened 20 years ago Closed 20 years ago

if 'createdb' fails, the error message should include the dbi error

Categories

(Bugzilla :: Installation & Upgrading, defect)

2.18
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: glob, Assigned: glob)

Details

Attachments

(1 file, 1 obsolete file)

if 'createdb' fails, the error message should include the dbi error.
Attachment #161846 - Flags: review?
Comment on attachment 161846 [details] [diff] [review]
include $dbh->errstr in createdb error

Sure.
Attachment #161846 - Flags: review? → review+
Flags: approval?
Comment on attachment 161846 [details] [diff] [review]
include $dbh->errstr in createdb error

'patch' won't apply this, says it's malformed.	The header on the first section
appears to have an inaccurate line count.
Attachment #161846 - Flags: review-
Flags: approval?
Hardware: PC → All
Attachment #161846 - Attachment is obsolete: true
Comment on attachment 162560 [details] [diff] [review]
include $dbh->errstr in createdb error v2

carrying forward r=kiko
Attachment #162560 - Flags: review+
Status: NEW → ASSIGNED
Flags: approval?
Let's put this in 2.18, too.  Useful debugging info.
Flags: approval?
Flags: approval2.18+
Flags: approval+
Target Milestone: --- → Bugzilla 2.18
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v  <--  checksetup.pl
new revision: 1.310; previous revision: 1.309
done

Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v  <--  checksetup.pl
new revision: 1.289.2.10; previous revision: 1.289.2.9
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: