mirror of
https://github.com/MariaDB/server.git
synced 2025-11-24 06:01:25 +03:00
ORDER BY against union may confuse name resolution context, causing valid SQL statements to fail. The purpose of context change was presumably intended for the duration of gathering field list for ORDER BY. However it isn't actually required (name resolution context is never accessed by the latter). See also alternative solution (in MySQL 5.7): 92145b95.
20 KiB
20 KiB