| Bug #51178 | MySQL query running fine on v4.1.22 (Linux) but not working on v5.1.43 (Windows) | ||
|---|---|---|---|
| Submitted: | 15 Feb 2010 4:01 | Modified: | 15 Feb 2010 5:01 |
| Reporter: | Fulvio Cusumano | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Errors | Severity: | S1 (Critical) |
| Version: | OS: | Windows | |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | linux, query, windows | ||
[15 Feb 2010 4:01]
Fulvio Cusumano
[15 Feb 2010 5:01]
Valeriy Kravchuk
This is not a bug but documented change in behavior since 5.0.12 (AFAIR). Read http://dev.mysql.com/doc/refman/5.0/en/join.html: "However, the precedence of the comma operator is less than of INNER JOIN, CROSS JOIN, LEFT JOIN, and so on. If you mix comma joins with the other join types when there is a join condition, an error of the form Unknown column 'col_name' in 'on clause' may occur. Information about dealing with this problem is given later in this section."
