Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 5.1.67, 5.2.14, 5.3.12, 5.5.39, 10.0.13, 10.1.0
-
Fix Version/s: 10.1.1
-
Component/s: None
-
Labels: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.
Gliffy Diagrams
Attachments
Issue Links
- is part of
-
MDEV-334 [backport] Implement UNION ALL without usage of a temporary table (MWL#44)
-
- Closed
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Fixed as part of
MDEV-334patch. (the fix passed to Igor)