Bug #10646 | Columns included in the join between two tables are ambigious in the select | ||
---|---|---|---|
Submitted: | 15 May 2005 19:22 | Modified: | 29 Aug 2005 22:06 |
Reporter: | Are you mortal Then prepare to die. | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.9 | OS: | Linux (linux dec alpha) |
Assigned to: | Timour Katchaounov | CPU Architecture: | Any |
[15 May 2005 19:22]
Are you mortal Then prepare to die.
[15 May 2005 19:24]
Are you mortal Then prepare to die.
Here is the discussion thread on mysql-general http://lists.mysql.com/mysql/183724
[15 May 2005 23:28]
Sergei Golubchik
Timour is working on this right now (and there're close to 10 bugreports about this issue already :)
[16 May 2005 8:30]
Are you mortal Then prepare to die.
Sorry about that - I searched the bug database for the word ambigious, but didn't find anything.
[16 Jul 2005 5:40]
Timour Katchaounov
We are ready with a patch for 5.0 that corrects this and many other problems related to JOIN ... USING and NATURAL JOIN. The patch will be pushed in version 5.0 before it becomes GA. The problem will not be corrected in 4.1.
[22 Aug 2005 14:34]
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/internals/28638
[22 Aug 2005 14:36]
Timour Katchaounov
The bug is fixed by WL#2486 which is pushed into 5.0.12. The changeset above adds only a test case. NOTICE: This bug will not be fixed in 4.1.
[29 Aug 2005 22:06]
Mike Hillyer
Documented in 5.0.12 changelog: <listitem><para><literal>SELECT <replaceable>PK</replaceable> FROM <replaceable>TableA</replaceable> INNER JOIN <replaceable>TableB</replaceable> USING(<replaceable>PK</replaceable>)</literal> resulted in a inappropriate <literal>Column ... is ambiguous</literal> error. (Bug #10646)</para></listitem>