Bug #12587 | Manual says that error 1235 meets only in early versions, I have it in 5.0.11 | ||
---|---|---|---|
Submitted: | 15 Aug 2005 17:12 | Modified: | 16 Aug 2005 13:12 |
Reporter: | Gleb Paharenko | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.0.11 | OS: | Linux (Linux) |
Assigned to: | Stefan Hinz | CPU Architecture: | Any |
[15 Aug 2005 17:12]
Gleb Paharenko
[16 Aug 2005 13:12]
Stefan Hinz
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s).
[23 May 2006 19:15]
Paul DuBois
This limitation actually has never been removed, so I am going to put the text described in this bug report back into the 5.0 and 5.1 manuals. (It was not removed from the 4.1 manual.)
[15 Jul 2008 14:50]
Gustavo Martinez
I've found another way to use the keyword LIMIT in subqueries that actually works. Just place your subquery in the FROM of another select and use that one as your subquery, as in the following example: SELECT * FROM t1 WHERE s1 IN (SELECT * FROM (SELECT s2 FROM t2 ORDER BY s1 LIMIT 1) Alias)
[22 Jun 2010 7:42]
ARNAUD DUPUIS
Hello and thank you for suggesting a fix for this Bug. I too use the 5.0.11 version and had the same issue. Does anyone know, from which MySQL version, this problem has been fixed and users are actually able to query into subqueries using IN and LMIT?