mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Fix for a bug involving UNION's and SET SQL_SELECT_LIMIT
This commit is contained in:
parent
0a6da89f71
commit
333eadf1b2
3 changed files with 27 additions and 3 deletions
|
|
@ -498,4 +498,8 @@ select * from t1 UNION ALL select * from t1;
|
|||
select * from t1 UNION select * from t1 UNION ALL select * from t1;
|
||||
drop table t1;
|
||||
select 1 as a union all select 1 union all select 2 union select 1 union all select 2;
|
||||
set sql_select_limit=1;
|
||||
select 1 union select 2;
|
||||
(select 1) union (select 2);
|
||||
(select 1) union (select 2) union (select 3) limit 2;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue