Bug #1236 | Set/Enum function request | ||
---|---|---|---|
Submitted: | 9 Sep 2003 20:23 | Modified: | 7 Oct 2005 7:37 |
Reporter: | Jon Scharff | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | OS: | ||
Assigned to: | CPU Architecture: | Any |
[9 Sep 2003 20:23]
Jon Scharff
[7 Oct 2005 7:37]
Valeriy Kravchuk
ALTER TABLE ... MODIFY ... handles this issue just as you described (redefine column, and that's all). In any case, in a table with real data, when you delete element from enum, what do you have to do with data already stored? You have to process them somehow. So, simple function is not enough. Situation is just the same as if you want to use int(4) instead of int(3) as a column time, etc. ALTER TABLE is a solution, at least, until there is no CREATE TYPE SQL statements in MySQL...