1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

BUG#20484: "Partitions: crash with EXPLAIN and UNION"

- Don't forget to produce "partitions" column for "UNION RESULT" row of EXPLAIN output
This commit is contained in:
sergefp@mysql.com
2006-06-30 09:34:06 +04:00
parent 3b3dde6f4e
commit 342283d00a
3 changed files with 17 additions and 0 deletions

View File

@@ -697,3 +697,10 @@ ref NULL
rows 2
Extra
drop table t2;
create table t1 (s1 int);
explain partitions select 1 from t1 union all select 2;
id select_type table partitions type possible_keys key key_len ref rows Extra
1 PRIMARY t1 NULL system NULL NULL NULL NULL 0 const row not found
2 UNION NULL NULL NULL NULL NULL NULL NULL NULL No tables used
NULL UNION RESULT <union1,2> NULL ALL NULL NULL NULL NULL NULL
drop table t1;