Commit 31f269f1 authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

fixed error message numbers in union test

parent 8029045b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,11 +19,11 @@ select 't1',b,count(*) from t1 group by b UNION select 't2',b,count(*) from t2 g
explain select a,b from t1 union all select a,b from t2;

# Test some error conditions with UNION
--error 1213
--error 1214
select a,b from t1 into outfile 'skr' union select a,b from t2;
--error 1213
select a,b from t1 order by a union select a,b from t2;
--error 1214
select a,b from t1 order by a union select a,b from t2;
--error 1215
select a,b from t1 union select a from t2;

drop table t1,t2;