1
0
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:
Sinisa@sinisa.nasamreza.org
2001-08-24 13:18:06 +03:00
parent 66b4a894dd
commit 3b6546b875
4 changed files with 42 additions and 24 deletions

View File

@@ -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

View File

@@ -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