Bug #29635 | Simple JOIN of two tables containing same column name generates error 1052 | ||
---|---|---|---|
Submitted: | 9 Jul 2007 3:19 | Modified: | 9 Jul 2007 6:33 |
Reporter: | Steve Shell | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: General | Severity: | S2 (Serious) |
Version: | 5.0.41 | OS: | Windows (Windows XP SP2) |
Assigned to: | CPU Architecture: | Any |
[9 Jul 2007 3:19]
Steve Shell
[9 Jul 2007 6:33]
Valeriy Kravchuk
Thank you for a problem report. I can not repeat the behaviour described with 5.0.44: mysql> CREATE TABLE t (ROW INT AUTO_INCREMENT PRIMARY KEY, a INT, b INT, c int ) ; Query OK, 0 rows affected (0.20 sec) mysql> CREATE TABLE q (ROW INT AUTO_INCREMENT PRIMARY KEY, a INT, b INT ); Query OK, 0 rows affected (0.09 sec) mysql> SELECT c from t join q using (a,b); Empty set (0.00 sec) mysql> select version(); +--------------------------+ | version() | +--------------------------+ | 5.0.44-enterprise-gpl-nt | +--------------------------+ 1 row in set (0.00 sec) So, looks like this bug is already fixed in current code. Please, build from current sources or wait for 5.0.45 to be released soon.