Commit 49185c77 authored by unknown's avatar unknown

added a test case.

And I am not able to find a Changelog for 4.1


mysql-test/r/union.result:
  added a test case
mysql-test/t/union.test:
  added a test case
parent 5d2e98ff
......@@ -197,3 +197,5 @@ a
11
set SQL_SELECT_LIMIT=DEFAULT;
drop table t1,t2;
select * union select 1;
No tables used
......@@ -98,3 +98,6 @@ set SQL_SELECT_LIMIT=2;
(select * from t1 limit 1) union (select * from t2 limit 3);
set SQL_SELECT_LIMIT=DEFAULT;
drop table t1,t2;
--error 1096
select * union select 1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment