1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-16708: Unsupported commands for prepared statements

Fixed failures of the tests main.compound, main.union
This commit is contained in:
Dmitry Shulga
2021-04-29 17:16:56 +07:00
committed by Sergei Golubchik
parent 8754fce8b0
commit f536974b73
3 changed files with 5 additions and 4 deletions

View File

@ -93,6 +93,7 @@ select 1 as a,(select a union select a);
SELECT @a:=1 UNION SELECT @a:=@a+1;
--error 1054
(SELECT 1) UNION (SELECT 2) ORDER BY (SELECT a);
--sorted_result
(SELECT 1,3) UNION (SELECT 2,1) ORDER BY (SELECT 2);
#