Bug #3739 | create table .. select, the same column name, unexpected error | ||
---|---|---|---|
Submitted: | 13 May 2004 10:03 | Modified: | 13 May 2004 13:15 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.0 | OS: | |
Assigned to: | CPU Architecture: | Any |
[13 May 2004 10:03]
Matthias Leich
[13 May 2004 13:15]
Sergei Golubchik
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: From the manual (CREATE TABLE section): ... Notice that the columns from the `SELECT' statement are appended to the right side of the table, not overlapped onto it. ... so create table t2 ( a int ) select 1 as a; results in create table t2 (a int, a int) with the following "Duplicate column name" error