Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Not a Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
SELECT * FROM ... LIMIT @x
produces an error, for any @x.
SELECT * FROM ... ORDER BY @x
doesn't produce any error, and ORDER BY seems to do nothing.
SELLECT * FROM ... GROUP BY @x
doesn't produce any error, and it seems that there is a grouping, thought it seems to ignore the value of @x.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
This is the expected behavior. See http://dev.mysql.com/doc/refman/5.1/en/select.html for the syntax and semantics of LIMIT, ORDER BY, GROUP BY