Closed
Bug 573441
Opened 14 years ago
Closed 14 years ago
The attachments.ispatch column is a boolean without a DEFAULT
Categories
(Bugzilla :: Database, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
1.35 KB,
patch
|
timello
:
review+
|
Details | Diff | Splinter Review |
attachments.ispatch can be NULL, when it really should just default to FALSE.
Assignee | ||
Comment 1•14 years ago
|
||
A very simple patch. :-)
Updated•14 years ago
|
Attachment #452679 -
Flags: review?(timello) → review+
Comment 2•14 years ago
|
||
Comment on attachment 452679 [details] [diff] [review] v1 >=== modified file 'Bugzilla/Install/DB.pm' >@@ -616,6 +616,9 @@ > $dbh->bz_alter_column('group_control_map', 'othercontrol', > {TYPE => 'INT1', NOTNULL => 1, DEFAULT => CONTROLMAPNA}); > >+ $dbh->bz_alter_column('attachments', 'ispatch', >+ { TYPE => 'BOOLEAN', NOTNULL => 1, DEFAULT => 'FALSE'}); >+ Nit: I noticed that you have been adding one space after the '{' and before '}' and here you are missing the last one.
Updated•14 years ago
|
Flags: approval?
Assignee | ||
Comment 4•14 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/ modified Bugzilla/DB/Schema.pm modified Bugzilla/Install/DB.pm Committed revision 7228.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•