mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for a bug with empty item list in UNION's
This commit is contained in:
@ -273,3 +273,5 @@ SELECT @a:=1 UNION SELECT @a:=@a+1;
|
||||
@a:=1
|
||||
1
|
||||
2
|
||||
(SELECT 1) UNION (SELECT 2) ORDER BY (SELECT a);
|
||||
Unknown column 'a' in 'field list'
|
||||
|
Reference in New Issue
Block a user