Bug #6824 Lack of column's default value type info confuses clients
| Submitted: | 25 Nov 2004 12:27 | Modified: | 12 Feb 2006 12:34 |
|---|---|---|---|
| Reporter: | Serdar S. Kacar | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | next | OS: | Any (all) |
| Assigned to: | CPU Architecture: | Any |
[25 Nov 2004 12:27]
Serdar S. Kacar
[25 Nov 2004 14:05]
Serdar S. Kacar
Note that default value functions operating on rows (kind of calculated columns)are whole another story. Clients should be warned about those ones and they should not interfere with this default value mechanism unless they know what they are doing. May be the new SHOW COLUMNS' column could be enumurated one like: DefaultKind: 1 - Ordinary Value 2 - General Function 3 - Row Function
[12 Feb 2006 12:34]
Valeriy Kravchuk
Thank you for the feature request. Sorry, but there is no need to fix anything, at least, until MySQL will start to support arbitrary expressions as default value for column. CURRENT_TIMESTAMP is the only special case, and it simply shooud be taken into account by client applications. Read http://dev.mysql.com/doc/refman/5.0/en/create-table.html for the details.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.