Bug #3844 | Cannot set a default NULL value for 2nd TIMESTAMP column | ||
---|---|---|---|
Submitted: | 21 May 2004 10:30 | Modified: | 21 May 2004 18:12 |
Reporter: | Marty Brands | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.0.20 | OS: | Linux (Linux 2.4.26) |
Assigned to: | Dean Ellis | CPU Architecture: | Any |
[21 May 2004 10:30]
Marty Brands
[21 May 2004 18:12]
Dean Ellis
This is tricky, but I have to view it as not a bug. What you are asking for here would basically violate the defined/documented behavior for TIMESTAMP columns. Only the first column receives auto-generated date/time; setting any TIMESTAMP column to NULL generates current date/time; having more than one TIMESTAMP column default to NULL would circumvent this.