summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/maria/partition.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/maria/partition.test')
-rw-r--r--mysql-test/suite/maria/partition.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/partition.test b/mysql-test/suite/maria/partition.test
new file mode 100644
index 00000000..86f976a0
--- /dev/null
+++ b/mysql-test/suite/maria/partition.test
@@ -0,0 +1,11 @@
+--source include/have_partition.inc
+
+#
+# MDEV-19254
+# Server crashes in maria_status / ha_maria::info upon SELECT with partition
+# pruning
+#
+
+CREATE TABLE t (a INT, KEY(a)) ENGINE=Aria PARTITION BY KEY(a) PARTITIONS 2;
+SELECT * FROM t PARTITION (p1);
+DROP TABLE t;