Closed
Bug 429804
Opened 16 years ago
Closed 16 years ago
Add Foreign Keys to Multiselect fields
Categories
(Bugzilla :: Database, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.4
People
(Reporter: Alex.Eiser, Assigned: Alex.Eiser)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
3.32 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-us) AppleWebKit/526.1+ (KHTML, like Gecko) Version/3.1.1 Safari/525.18 Build Identifier: HEAD Add FK support to CASCADE deletes of a bug to the multiselect tables Reproducible: Always Steps to Reproduce: 1. 2. 3.
Assignee | ||
Updated•16 years ago
|
Blocks: bz-references
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #316561 -
Flags: review?
Assignee | ||
Updated•16 years ago
|
Attachment #316561 -
Flags: review? → review?(mkanat)
Updated•16 years ago
|
Assignee: database → aeiser
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 4.0
Version: unspecified → 3.1.3
Comment 2•16 years ago
|
||
Comment on attachment 316561 [details] [diff] [review] patch for adding FK to multiselects This had a few problems, which I fixed myself: * The checksetup code didn't actually work. * There was no need to use selectall_arrayref, you could have used selectcol_arrayref. Also, DISTINCT was unnecessary there (in checksetup). * We shouldn't specify the definition twice, so I removed it from Bugzilla::DB::Schema. * 'RESTRICT' is the default for DELETE so you don't need to specify it.
Attachment #316561 -
Flags: review?(mkanat) → review-
Comment 3•16 years ago
|
||
Here's the version I'm going to check in.
Attachment #316561 -
Attachment is obsolete: true
Attachment #327281 -
Flags: review+
Comment 4•16 years ago
|
||
Checking in Bugzilla/DB.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm new revision: 1.114; previous revision: 1.113 done Checking in Bugzilla/DB/Schema.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB/Schema.pm,v <-- Schema.pm new revision: 1.103; previous revision: 1.102 done Checking in Bugzilla/Install/DB.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/DB.pm,v <-- DB.pm new revision: 1.52; previous revision: 1.51 done
Severity: normal → enhancement
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: approval+
Resolution: --- → FIXED
Updated•16 years ago
|
Summary: Add Foreign Keys to Multiselect fieds → Add Foreign Keys to Multiselect fields
Updated•16 years ago
|
Target Milestone: Bugzilla 4.0 → Bugzilla 3.4
You need to log in
before you can comment on or make changes to this bug.
Description
•