Bug #14047 | Unknown column when column exists | ||
---|---|---|---|
Submitted: | 15 Oct 2005 15:16 | Modified: | 15 Oct 2005 15:29 |
Reporter: | Tomas Prochazka | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.13-rc | OS: | Windows (Windows XP SP2) |
Assigned to: | CPU Architecture: | Any |
[15 Oct 2005 15:16]
Tomas Prochazka
[15 Oct 2005 15:29]
Valeriy Kravchuk
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: Yes, this is new, but correct behaviour ob 5.0.12 and newer versions. It is documented (http://dev.mysql.com/doc/refman/5.0/en/join.html): "This means that some queries that appeared to work correctly prior to 5.0.12 must be rewritten to comply with the standard. For example, a query of the form SELECT t1.id,t2.id,t3.id FROM t1,t2 LEFT JOIN t3 ON (t3.id=t1.id) WHERE t1.id=t2.id; will be interpreted in MySQL 5.0.12 and later as SELECT t1.id,t2.id,t3.id FROM t1,( t2 LEFT JOIN t3 ON (t3.id=t1.id) ) WHERE t1.id=t2.id; Such a query must now be written like so: SELECT t1.id,t2.id,t3.id FROM (t1,t2) LEFT JOIN t3 ON (t3.id=t1.id) WHERE t1.id=t2.id;" It is just what you had reported about...
[15 Oct 2005 16:35]
Tomas Prochazka
Sorry and thanks you. And in LIKE syntax is also changes?
[14 Dec 2005 10:26]
Aleksey Kishkin
Tomas, if you have a testcase that shows problem with LIKE, please submit another bugreport