Closed
Bug 903895
Opened 11 years ago
Closed 11 years ago
Allow more than 32k components
Categories
(Bugzilla :: Database, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 5.0
People
(Reporter: mail, Assigned: mail)
References
Details
Attachments
(1 file)
4.57 KB,
patch
|
gerv
:
review+
|
Details | Diff | Splinter Review |
The component.id column and its foreign keys are defined as INT2. This means the maximum allowed value (signed) is 32767 (source https://dev.mysql.com/doc/refman/5.1/en/integer-types.html )
This patch is to change the values to INT3, allowing up to 8.3 million components.
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #795272 -
Flags: review?(gerv)
Comment 2•11 years ago
|
||
Comment on attachment 795272 [details] [diff] [review]
v1 patch
r=gerv. I'm still thinking about whether supporting >32K components in the base code is a good idea in general (i.e. what to do about 909203), but this change is harmless, and helps you guys.
Gerv
Attachment #795272 -
Flags: review?(gerv) → review+
Comment 3•11 years ago
|
||
Has this patch been tested on Pg and Oracle? I remember Oracle did some stupidities when playing with auto-incremented columns in the past.
Severity: normal → enhancement
Assignee | ||
Updated•11 years ago
|
Flags: approval?
Flags: approval4.4?
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Frédéric Buclin from comment #3)
> Has this patch been tested on Pg and Oracle? I remember Oracle did some
> stupidities when playing with auto-incremented columns in the past.
No, but it is the same change as in bug 776972 and 776982, and I don't recall anyone reporting issues with that. Both changes went out in Bugzilla 4.4
Assignee | ||
Updated•11 years ago
|
Flags: approval?
Flags: approval4.4?
Flags: approval4.4+
Flags: approval+
Comment 5•11 years ago
|
||
DB schema changes are not allowed on stable branches. So you cannot take it for 4.4.x.
Flags: approval4.4+
Assignee | ||
Comment 6•11 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/DB/Schema.pm
modified Bugzilla/Install/DB.pm
Committed revision 8719.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•