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

Fix for a bug involving UNION's and SET SQL_SELECT_LIMIT

mysql-test/r/union.result:
  Results for a test case for bug involving UNION's and 
  SET SQL_SELECT_LIMIT
mysql-test/t/union.test:
  Test case for bug involving UNION's and 
  SET SQL_SELECT_LIMIT
sql/sql_union.cc:
  Patch  for a bug involving UNION's and SET SQL_SELECT_LIMIT
This commit is contained in:
unknown
2004-05-03 19:15:26 +03:00
parent 4bde9b834a
commit 19c91b7920
3 changed files with 27 additions and 3 deletions

View File

@ -924,3 +924,14 @@ a
1
2
2
set sql_select_limit=1;
select 1 union select 2;
1
1
(select 1) union (select 2);
1
1
(select 1) union (select 2) union (select 3) limit 2;
1
1
2