Bug #33256 | CREATE ... SELECT creates obsolete table w/ Field_date instead of Field_newdate | ||
---|---|---|---|
Submitted: | 15 Dec 2007 6:03 | Modified: | 24 Jan 2008 20:39 |
Reporter: | Sergey Petrunya | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | 5.0-bk | OS: | Any |
Assigned to: | Georgi Kodinov | CPU Architecture: | Any |
[15 Dec 2007 6:03]
Sergey Petrunya
[18 Dec 2007 16:02]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/40140 ChangeSet@1.2591, 2007-12-18 18:01:36+02:00, gkodinov@magare.gmz +6 -0 Bug #33256: CREATE ... SELECT creates obsolete table w/ Field_date instead of Field_newdate Field_date was still used in temp table creation. Fixed by using Field_newdate consistently throughout the server except when reading tables defined with older MySQL version. No test suite is possible because both Field_date and Field_newdate return the same values in all the metadata calls.
[11 Jan 2008 12:18]
Bugs System
Pushed into 6.0.5-alpha
[11 Jan 2008 12:21]
Bugs System
Pushed into 5.1.23-rc
[11 Jan 2008 12:22]
Bugs System
Pushed into 5.0.56
[24 Jan 2008 20:39]
Paul DuBois
Noted in 5.0.56, 5.1.23, 6.0.5 changelogs. CREATE TABLE ... SELECT created tables that for date columns used the obsolete Field_date type instead of Field_newdate.