Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
5.1.67, 5.2.14, 5.3.12, 5.5.39, 10.0.13, 10.1.0
-
None
-
None
Description
In union.test we have
--error 1054
select a from t1 union select a from t2 order by t2.a;
The error (ER_BAD_FIELD_ERROR) is incorrect, it should be ER_TABLENAME_NOT_ALLOWED_HERE.
It is happens because of reading incorrect SELECT option during ORDER BY processing.
Attachments
Issue Links
- is part of
-
MDEV-334 [backport] Implement UNION ALL without usage of a temporary table (MWL#44)
- Closed