mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
EXPLAIN on UNION"s
This commit is contained in:
@@ -56,3 +56,6 @@ t2 c 1
|
||||
t2 d 1
|
||||
t2 e 1
|
||||
t2 f 1
|
||||
table type possible_keys key key_len ref rows Extra
|
||||
t1 ALL NULL NULL NULL NULL 4
|
||||
t2 ALL NULL NULL NULL NULL 4
|
||||
|
||||
@@ -17,7 +17,6 @@ select a,b from t1 union select a,b from t1;
|
||||
select 't1',b,count(*) from t1 group by b UNION select 't2',b,count(*) from t2 group by b;
|
||||
|
||||
# Test some error conditions with UNION
|
||||
--error 1215
|
||||
explain select a,b from t1 union all select a,b from t2;
|
||||
|
||||
--error 1215
|
||||
|
||||
Reference in New Issue
Block a user