Bug #3667 | ORDER BY (subquery) allows illegitimate subquery | ||
---|---|---|---|
Submitted: | 5 May 2004 20:36 | Modified: | 5 May 2004 23:29 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.2-alpha-debug | OS: | Linux (SuSE 8.2) |
Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[5 May 2004 20:36]
Peter Gulutzan
[5 May 2004 23:29]
Oleksandr Byelkin
Thank you for bug report. Subquery in example do not depents on outer query, i.e. it is constant (related to outer query). Mysql eliminate constant ORDER BY clause. I.e. subquery never will be executed. As far as that error can be fount only during execution it will not be found.