summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition_pruning.test
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2006-06-30 09:34:06 +0400
committerunknown <sergefp@mysql.com>2006-06-30 09:34:06 +0400
commitd2f08db40c90a0b0ffd8fe84cda99fbb9af0c6c9 (patch)
tree7e4b4e52bfc758b4542fc60beb55479230782f74 /mysql-test/t/partition_pruning.test
parentf030f85860e20bfdc93df37ebedf96021d85feda (diff)
downloadmariadb-git-d2f08db40c90a0b0ffd8fe84cda99fbb9af0c6c9.tar.gz
BUG#20484: "Partitions: crash with EXPLAIN and UNION"
- Don't forget to produce "partitions" column for "UNION RESULT" row of EXPLAIN output mysql-test/r/partition_pruning.result: BUG#20484: Testcase mysql-test/t/partition_pruning.test: BUG#20484: Testcase
Diffstat (limited to 'mysql-test/t/partition_pruning.test')
-rw-r--r--mysql-test/t/partition_pruning.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/partition_pruning.test b/mysql-test/t/partition_pruning.test
index 976466e1578..8fdfca15eef 100644
--- a/mysql-test/t/partition_pruning.test
+++ b/mysql-test/t/partition_pruning.test
@@ -590,3 +590,10 @@ explain partitions select * from t2;
--horizontal_results
drop table t2;
+
+# BUG#20484 "Partitions: crash with explain and union"
+create table t1 (s1 int);
+explain partitions select 1 from t1 union all select 2;
+drop table t1;
+
+