Bug #21857 | simple JOIN delivers wrong result | ||
---|---|---|---|
Submitted: | 28 Aug 2006 5:42 | Modified: | 29 Aug 2006 7:16 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.24 | OS: | Windows (WinXP) |
Assigned to: | CPU Architecture: | Any |
[28 Aug 2006 5:42]
Peter Laursen
[28 Aug 2006 5:43]
Peter Laursen
test case
Attachment: country.sql (application/octet-stream, text), 63.38 KiB.
[28 Aug 2006 6:00]
Peter Laursen
I forgot to mention that this is the same without the FK and with MyISAM tables as well.
[28 Aug 2006 7:27]
Sergei Golubchik
There's a typo in the first query - you have a semicolon before ORDER BY clause, so neither ORDER BY nor LIMIT are part of the query. The question is where did you make the typo - in a bugreport, or in the original query that returned wrong results ?
[28 Aug 2006 23:13]
Peter Laursen
THANKS ... yes .. my fault!
[29 Aug 2006 7:16]
Sveta Smirnova
> yes .. my fault! So I change status to "Not a Bug". Thank you for your interest in MySQL.